vantage
vantage copied to clipboard
Vantage Command Missing Number Data
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?
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.