Skip to content

Integer

parzivale edited this page May 23, 2023 · 1 revision

The Integer data-type

This datatype is stored internally as an i32, thus it has a maximum range -2,147,483,648 to 2,147,483,647 before it overflows. Integers can only be added, subtracted, multiplied, divided and compared with other integers, attempting to do so will cause the interpreter to throw an error. This can be overcome by casting the integer to a real or vice versa.

Clone this wiki locally