Stop Number from Rounding

Brad Kallmeyer1
Tera Guru

We have a Record Producer that on the form has a default value of 0.5, which is the minimum value. When the form is submitted the number rounds to 1 which isn't correct as upon submit there are scripts that perform mathematical conversions for other fields. We did try adding toFixed(2) but this didn't solve the issue, or we didn't put this in the correct location.

Any ideas on how to prevent the rounding?

1 ACCEPTED SOLUTION

Brad Tilton
ServiceNow Employee
ServiceNow Employee

What type of field are you using? Have you tried using a decimal?



Controlling decimal field places - ServiceNow Guru


View solution in original post

3 REPLIES 3

Brad Tilton
ServiceNow Employee
ServiceNow Employee

What type of field are you using? Have you tried using a decimal?



Controlling decimal field places - ServiceNow Guru


lei5
Tera Contributor

the link is broken. Where can I find this "Controlling decimal field places - ServiceNow Guru"

Brad Kallmeyer1
Tera Guru

That was it.