ToString

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

Example;

5.toString('00')

Will output '05'.

This page was edited 93 days ago on 02/10/2024. What links here