num (number)
Less than 1 minute
num
(number)
Floating point number (primitive)
Description
Any number. To be precise, a full set of all IEEE-754 64-bit floating-point numbers.
Unless you specifically know you only want whole numbers, it is recommended that you use this as your default numeric data-type as opposed to
int
.
Supported Hooks
Marshal()
SupportedUnmashal()
Supported
See Also
[[ element ]]
: Outputs an element from a nested structurecast
: Alters the data type of the previous function without altering it's outputformat
: Reformat one data-type into another data-typeint
: Whole 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.