I need to create a long random number with length min 0 and max 90000000000000000
ex: 23746589201948757493028
it is possibile?
I need to create a long random number with length min 0 and max 90000000000000000
ex: 23746589201948757493028
it is possibile?
You can't. They are 64-bit floating point values, the largest exact integral value is 253
or
9007199254740992
That said this is the max exact value if you don't care about floating point inaccuracies, which you probably should, you can use higher numbers.
See the spec for more details : http://ecma262-5.com/ELS5_HTML.htm#Section_8.5