Conversion
Convert between different data types
Conversion
Convert between different data types
Functions
boolean
: Converts the input to a boolean.formatBase
: Formats a number as a string in the specified base.formatInteger
: Formats a number as an integer with zero padding.formatNumber
: Formats a number to a decimal representation as specified by the format string.json
: Parses the string and returns a JSON object.number
: Converts the input to a number.parseInteger
: Parses a string and returns an integer.string
: Casts the input to a string.
Transforms
boolean
: Converts the input to a boolean.formatBase
: Formats a number as a string in the specified base.formatInteger
: Formats a number as an integer with zero padding.formatNumber
: Formats a number to a decimal representation as specified by the format string.json
: Parses the string and returns a JSON object.number
: Converts the input to a number.parseInteger
: Parses a string and returns an integer.string
: Casts the input to a string.