hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

number-to-string

Converts a number to a string with optional formatting
Parameter
Type
Description
self
number
The number to convert to a string
integer-places
number
The minimum number of integer digits (pads with zeros if needed)
decimal-places
number
The number of decimal places to include in the output
return
string
A string representation of the number with optional formatting