🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
ToString

toString will convert a number to the string representation, optionally with a format string.

Example:

5.toString('00')

This will output '05'.

10.toString('X')

This will output 'A'.

Please see the .net format strings for more information: https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings