I'm a bit lost with the format function.
I'm trying to convert a decimal to a string of 5 characters.
For example: convert "101.000" to "00101".
How can I do that? I tried
Code: Select all
Format("{00000}",((int)MyValue).ToString())
Thanks for your help!