Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong by convert max value of long in C# #577

Closed
hedbisker opened this issue Sep 6, 2018 · 3 comments
Closed

Wrong by convert max value of long in C# #577

hedbisker opened this issue Sep 6, 2018 · 3 comments

Comments

@hedbisker
Copy link

hedbisker commented Sep 6, 2018

I try to convert max value of long in C#
and I got after the convert a bigger number then long (in C#)

image

@hedbisker hedbisker changed the title Wrong convert big number Wrong by convert max value of long in C# Sep 6, 2018
@Anaerin
Copy link

Anaerin commented Sep 6, 2018

JavaScript stores numbers as floats. It looks like you're running into precision errors due to the size of the number.

@hedbisker
Copy link
Author

Its look like a bug... it changes the value of the variable...

@josdejong
Copy link
Owner

Thanks for reporting.

This is a duplicate of #231, let's continue any discussion there.

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

No branches or pull requests

3 participants