float (floating point number)
Less than 1 minuteData-Type Reference
float
(floating point number)
Floating point number (primitive)
Description
Any number. To be precise, a full set of all IEEE-754 64-bit floating-point numbers.
This data-type is going to be deprecated in favour of
num
(since it is literally the same underlying data-type anyway). Please do not usefloat
Supported Hooks
Marshal()
SupportedUnmarshal()
Supported
See Also
int
: Whole number (primitive)num
(number): Floating point number (primitive)
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.