timefold-solver icon indicating copy to clipboard operation
timefold-solver copied to clipboard

jpyinterpreter - float, int str constructor support

Open Christopher-Chianelli opened this issue 1 year ago • 0 comments

Python float and int accept str as constructor arguments, so jpyinterpreter should too.

Expected behaviour:

a = float('inf')
b  = float('1.0')
assert a == infinity
assert b == 1.0

Christopher-Chianelli avatar Mar 04 '24 18:03 Christopher-Chianelli