Literals/Integer: Difference between revisions
m
→{{header|Wren}}: Oops!
(Added Wren) |
m (→{{header|Wren}}: Oops!) |
||
Line 2,062:
All numbers, whether integers or not, are instances of the built-in Num class which is always 8 bytes in size. A consequence of this is that integers whose absolute magnitude exceeds 2^53-1 cannot be accurately represented in Wren.
As the only difference between integers and other numbers is that the former do not have a decimal part, it is also possible to represent integers using scientific notation.
<lang ecmascript>
var a = 255
|