FANDOM


Integer is a primitive data type.
Integers represent *uhm, yes* Integers. The range of this numbers is from $ -2^{31} $ until $ 2^{31} - 1 $ (the default range for integers on 32-Bit computers).
As Python has the automatic type-inference, it will interpret all numerics withought digits-after-the-comma as integers.

Casting Edit

To cast a numeric variable to an integer, type:

int(your_variable)