Unwanted Rounding
Feb 28, 2019
Hello!
I need to build a very simple Percentage to Decimal calculator/converter.
I have the user input the Percent, click a convert button and am displaying the converted percent expressed as a decimal.
My problem is the decimal is automatically rounding. So if someone inputs 2.5 percent it is outputting .03 instead of .025
Is there a way to stop it from rounding the decimal?
Attached is my sample
Thank you!!
1 Reply
Hey Mary!
Number variables will display 2 decimal places by default, but you can work around that using a little creativity and some Javascript! This similar discussion is a good place to start.
This discussion is closed. You can start a new discussion or contact Articulate Support.