Skip to content

inconsistent large number rounding #339

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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