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

Vantage Command Missing Number Data #70

Open
CyberTianzun opened this issue Nov 18, 2016 · 1 comment
Open

Vantage Command Missing Number Data #70

CyberTianzun opened this issue Nov 18, 2016 · 1 comment

Comments

@CyberTianzun
Copy link

in vantage i input the following command:

$ start test 1111111112312345425
{ options: {}, platform: 'test', uid: 1111111112312345500 }

1111111112312345425 missing the ending data 1111111112312345500 ???

1111111112312345425
1111111112312345500

i have tried the newest version "commander". it hasn't this bug. is this vantage bug?

@pluma
Copy link

pluma commented Nov 18, 2016

Sounds like a rounding problem.

Number.isSafeInteger(1111111112312345425) returns false so it can't be represented as an integer in JavaScript.

In other words: 1111111112312345425 === 1111111112312345500 is true.

FYI: Number.MAX_SAFE_INTEGER is 9007199254740991.

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

No branches or pull requests

2 participants