The int type
The int type represents a signed 64-bit integer.
Range
The int type covers the range between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807.
Coercion to float
The following operations will always produce a float value as the result, even if one of the operands is an int:
- Performing any math operation, such as addition, between an
intvalue and afloatvalue - Raising an
intvalue to a negative power, even if the exponent is also anint - Summing
intandfloatvalues implicitly through a multi-part expression