Parses a string and returns an integer of the specified radix (base).
The string to parse
Optionalradix: numberThe radix (base) to use for parsing (e.g., 10 for decimal, 16 for hexadecimal)
The parsed integer, or NaN if the string cannot be parsed
Formats a number using exponential (scientific) notation with a specified number of fractional digits.
The number to format
OptionalfractionalDigits: numberThe number of digits after the decimal point
A string representing the number in exponential notation
Formats a number using fixed-point notation with a specified number of digits after the decimal point.
The number to format
Optionaldigits: numberThe number of digits to appear after the decimal point
A string representing the number in fixed-point notation
Formats a number to a specified precision (total number of significant digits), using either fixed-point or exponential notation depending on the value.
The number to format
Optionalprecision: numberThe number of significant digits
A string representing the number to the specified precision
Provides functional transformations for numbers within HotMesh mapping rules. These functions facilitate the manipulation and transformation of numbers during the mapping process. Although inspired by JavaScript, they have been adapted to follow a functional approach. Each transformation is a function that expects one or more input parameters from the prior row in the
@pipestructure.Remarks
Invoked via
{@number.<method>}in YAML mapping rules.