TYPE
integer
integerA 64-bit signed integer type, ranging from -2^63 to (2^63)-1, supporting a standard
complement of numerical operations.
Since
0.6.0
Attributes
MIN_VALUE: integer = -9223372036854775808The minimum value an integer can have,
-2^63, or-9223372036854775808.Since
0.6.0
MAX_VALUE: integer = 9223372036854775807The maximum value an integer can have,
(2^63)-1, or9223372036854775807.Since
0.6.0
Methods
abs
Returns the absolute value of this integer; i.e. the integer itself if it's positive or its negation
from_hex
Parse an unsigned hexadecimal text representation of an integer.
from_text
Parse a signed text representation of an integer.
hex
Convert this integer to hexadecimal text.
integer
max
Returns the greater of this integer and another integer value; i.e. value if value is greater
min
Returns the lesser of this integer and another integer value; i.e. value if value is less than
parseHex
Parse an unsigned hexadecimal text representation of an integer.
pow
Raise this integer to the power of the given exponent. SQL compatible.
sign
Returns the sign of the integer: -1 if negative, 0 if zero, and 1 if positive.
signum
Returns the sign of the integer: -1 if negative, 0 if zero, and 1 if positive.
str
Convert this integer to a base-10 text representation.
to_big_integer
Convert this integer to a big integer.
to_decimal
Convert this integer to a decimal.
to_hex
Convert this integer to hexadecimal text.
to_text
Convert this integer to a base-10 text representation.
© 2026 Chromia