# integer · Rell standard library · Chromia Docs (concept)

> type integer A 64-bit signed integer type, ranging from -2^63 to (2^63)-1 , supporting a standard
complement of numerical operations. Since 0.6.0 Attribute

Source: https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/

TYPE

# integer

On this page

* [Attributes](#attributes)
* [Methods](#methods)

```signature
type integer
```

A 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 = -9223372036854775808`
:   The minimum value an integer can have, `-2^63`, or `-9223372036854775808`.

    Since 0.6.0

`MAX_VALUE: integer = 9223372036854775807`
:   The maximum value an integer can have, `(2^63)-1`, or `9223372036854775807`.

    Since 0.6.0

## Methods

[abs](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/abs/)
:   Returns the absolute value of this integer; i.e. the integer itself if it's positive or its negation

[from\_hex](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/from_hex/)
:   Parse an unsigned hexadecimal text representation of an integer.

[from\_text](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/from_text/)
:   Parse a signed text representation of an integer.

[hex](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/hex/)
:   Convert this integer to hexadecimal text.

[integer](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/integer/)

[max](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/max/)
:   Returns the greater of this integer and another integer value; i.e. value if value is greater

[min](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/min/)
:   Returns the lesser of this integer and another integer value; i.e. value if value is less than

[parseHex](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/parse-hex/)
:   Parse an unsigned hexadecimal text representation of an integer.

[pow](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/pow/)
:   Raise this integer to the power of the given exponent. SQL compatible.

[sign](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/sign/)
:   Returns the sign of the integer: -1 if negative, 0 if zero, and 1 if positive.

[signum](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/signum/)
:   Returns the sign of the integer: -1 if negative, 0 if zero, and 1 if positive.

[str](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/str/)
:   Convert this integer to a base-10 text representation.

[to\_big\_integer](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/to_big_integer/)
:   Convert this integer to a big integer.

[to\_decimal](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/to_decimal/)
:   Convert this integer to a decimal.

[to\_hex](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/to_hex/)
:   Convert this integer to hexadecimal text.

[to\_text](https://docs.chromia.com/pages/rell-stdlib/-rell-system-library/root/integer/to_text/)
:   Convert this integer to a base-10 text representation.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/rell-stdlib/-rell%20-system%20-library/%5Broot%5D/integer/index.html)Generated API reference, mirrored from the live docs
