I'm working on an order form. I have the rounding figured out; however, it drops the 0 if it's the final digit. I've tried searching for solutions and haven't been successful. Recommendations? An example would be helpful. I'm a visual learner and new to this level of Qualtrics.
Page 1 / 1
This is not a problem with Qualtrics, but with JavaScript in general. You can use regex to overcome this. Here's a screenshot of the setup:
This will add a zero if you have only one digit after the decimal place. Make sure the dots in the branch match and also that there is no space when you are assigning a new value to rounded_num
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.