|
|
|
|
|
by hamandcheese
3018 days ago
|
|
JavaScript uses 64 bit floats for all numbers. Unless you deal with particularly huge integers I don’t think there will be problems. “According to the ECMAScript standard, there is only one number type: the double-precision 64-bit binary format IEEE 754 value (numbers between -(253 -1) and 253 -1). There is no specific type for integers. In addition to being able to represent floating-point numbers, the number type has three symbolic values: +Infinity, -Infinity, and NaN (not-a-number).” https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data... |
|