I have a field {table.price} that displays numbers such as below:
4.2
4.25
13.1
13.15
13
In need to display these number values as a string based on the following conversion:
4 = 0400
4.2 = 0420
4.25 = 0425
13.1 = 1310
13.15 = 1315
13 = 1300
{table.price} represents any value from 0.01 cents to 99.99 cents.
I've tried the simple cstr formula but that returns usually 4 or if I modify the number format I can get 4.20.
Your help is appreciated!
4.2
4.25
13.1
13.15
13
In need to display these number values as a string based on the following conversion:
4 = 0400
4.2 = 0420
4.25 = 0425
13.1 = 1310
13.15 = 1315
13 = 1300
{table.price} represents any value from 0.01 cents to 99.99 cents.
I've tried the simple cstr formula but that returns usually 4 or if I modify the number format I can get 4.20.
Your help is appreciated!