Hello Frients!
I have the following to calculate and show the next answer will be.
[frm-math] [frm-stats id=1534 type=count user_id=current] + 1 [/frm-math]
The result is any given digit. Due to format requirements, I need to make the result have 3 digits:
001 instead of 1
010 instead of 10
In other case I need to format it as currency.
Is there a way to do it with the regular shortcodes?
Thanks a lot!
That is going to require some custom JS/JQuery. Please try this: https://stackoverflow.com/questions/2998784/how-to-output-numbers-with-leading-zeros-in-javascript
Thaks a lot Bobby!
Please login or Register to submit your answer