github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/types/num.md (about) 1 # `num` (number) 2 3 > Floating point number (primitive) 4 5 ## Description 6 7 Any number. To be precise, a full set of all IEEE-754 64-bit floating-point 8 numbers. 9 10 > Unless you specifically know you only want whole numbers, it is recommended 11 > that you use this as your default numeric data-type as opposed to `int`. 12 13 ## Supported Hooks 14 15 * `Marshal()` 16 Supported 17 * `Unmashal()` 18 Supported 19 20 ## See Also 21 22 * [`[[ Element ]]`](../parser/element.md): 23 Outputs an element from a nested structure 24 * [`cast`](../commands/cast.md): 25 Alters the data type of the previous function without altering it's output 26 * [`format`](../commands/format.md): 27 Reformat one data-type into another data-type 28 * [`int`](../types/int.md): 29 Whole number (primitive) 30 * [`open`](../commands/open.md): 31 Open a file with a preferred handler 32 * [`runtime`](../commands/runtime.md): 33 Returns runtime information on the internal state of Murex 34 * [`str` (string)](../types/str.md): 35 string (primitive) 36 * [index](../parser/item-index.md): 37 Outputs an element from an array, map or table 38 39 ### Read more about type hooks 40 41 - [`ReadIndex()` (type)](../apis/ReadIndex.md): Data type handler for the index, `[`, builtin 42 - [`ReadNotIndex()` (type)](../apis/ReadNotIndex.md): Data type handler for the bang-prefixed index, `: Read from a data type one array element at a time 44 - [`WriteArray()` (type)](../apis/WriteArray.md): Write a data type, one array element at a time 45 - [`ReadMap()` (type)](../apis/ReadMap.md): Treat data type as a key/value structure and read its contents 46 - [`Marshal()` (type)](../apis/Marshal.md): Converts structured memory into a structured file format (eg for stdio) 47 - [`Unmarshal()` (type)](../apis/Unmarshal.md): Converts a structured file format into structured memory 48 49 <hr/> 50 51 This document was generated from [builtins/types/numeric/numeric_doc.yaml](https://github.com/lmorg/murex/blob/master/builtins/types/numeric/numeric_doc.yaml).