The CreatorCon Call for Content is officially open! Get started here.

How large can an integer be in ServiceNow?

catarinapereira
Tera Contributor

Hey!

I created an integer type field on a form. Whenever I try to insert a number larger or equal to 1000, the system automatically assumes it's 1.000, as in one unit, instead of 1000. I've tried "quantity.replace(/./g , "");" and it doesn't work. As soon as I enter the value it instantly adds the "." . However, when I print the value that is supposedly being inserted on the table it shows the original 1000. Any suggestions on how to solve this?

Thank you.

5 REPLIES 5

Thank you Catarina. I wasn't aware that this was a variable. Your initial description said field. Sorry for the confusion. Glad you got it taken care of.