Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Javascript bug on a simple calculation
It seesm like Javascript used in NetSuite does not handle simple calculation very well. I have a script file attached to a transaction form, it does the following calcualtion:
772200 * 0.08 = 61776
61776 / 1.08 = 57199.99999
Yet,
61776 / 1.08 should be 57200 (even if you use calculatior)
Why does this happen? Does it happen to anyone also?
thanks
0