Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

inconsistent large number rounding

Open sebasv opened this issue 3 months ago • 0 comments

Thanks for building this really cool library! I noticed the following.

# python:
int(float(255120250923013158)) == 255120250923013152
js2py.eval_js("String(255120250923013158)") == 255120250923013152

// JavaScript:
String(255120250923013158) == "255120250923013150"

sebasv avatar Sep 23 '25 08:09 sebasv