Hello, I wondered how to display the value “0.00” when the variable is 0? The input is empty when the value is 0.
I've made several changes to the script, but the input is always empty.
Thank you.
Cátia Sousa
Hello Cátia Sousa
If you want to display the value "0,00" instead of 0 for this show, I suggest using the formatDecimal function. You can call this function in the input parameter's onchange action so that when the input parameter's value is 0, it will automatically be converted to 0,00.
Regards
Nikhil Kumar Vijay
Hi, Nikhil.
I apologize for the delay in replying.
I tried your suggestion, but it didn't work. I found another way, using only a mask for the input, to show the decimal places with the semicolons.
Thanks for your reply! ☺️
Best regards
If you dont mind, can you share your solution... I would like to learn/understand as well. Thanks in advance!