format

format(value)

format(value, precision)

Try it yourself:

See also:
All functions