int
About 1 min
int
Whole number (primitive)
Description
An integer is a whole number (eg 1, 2, 3, 4) rather than one with a decimal point (such as 1.1).
Integers in Murex are sized based on the bit (or word) size of the target CPU.
A 386, ARMv6 or other 32bit build of Murex would see the range of from -2147483648
(negative) through 2147483647
(positive).
AMD64 or other 64bit built of Murex would see the range from -9223372036854775808
(negative) through 9223372036854775807
(positive).
Unless you specifically know you only want whole numbers, it is recommended that you use the default numeric data-type:
num
.
Supported Hooks
Marshal()
SupportedUnmarshal()
Supported
See Also
[[ Element ]]
: Outputs an element from a nested structurecast
: Alters the data-type of the previous function without altering its outputformat
: Reformat one data-type into another data-typenum
(number): Floating point number (primitive)open
: Open a file with a preferred handlerruntime
: Returns runtime information on the internal state of Murexstr
(string): string (primitive)- index: Outputs an element from an array, map or table
Read more about type hooks
ReadIndex()
(type): Data type handler for the index,[
, builtinReadNotIndex()
(type): Data type handler for the bang-prefixed index,![
, builtinReadArray()
(type): Read from a data type one array element at a timeWriteArray()
(type): Write a data type, one array element at a timeReadMap()
(type): Treat data type as a key/value structure and read its contentsMarshal()
(type): Converts structured memory into a structured file format (eg for stdio)Unmarshal()
(type): Converts a structured file format into structured memory
This document was generated from builtins/types/numeric/numeric_doc.yaml.