ToString
No edit summary
m ((username removed) (log details removed): Moving to Documentation namespace)
(No difference)

Revision as of 21:23, 20 December 2023

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

Example:

5.toString('00')

Will output '05'.

10.toString('X')

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

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