Skip to content

inconsistent large number rounding #339

@sebasv

Description

@sebasv

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions