Summary:
Converts to integer value.
Usage:
to-integer value
Arguments:
value - Value to convert
Description:
Converts other values to INTEGER.
print to-integer "123"
123 |
print to-integer 123.9
123 |
print to-integer #"A" ; convert to the character value
65 |
print to-integer #102030 ; convert hex value (see to-hex for info)
1056816 |
Related:
to - Constructs and returns a new value after conversion. to-hex - Converts an integer to a hex issue!.
|