ToString
This page was created by Lars.olofsson@mdriven.net on 2021-01-14. Last edited by Edgar on 2025-01-20.

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

Example;

5.toString('00')

Will output '05'.

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments