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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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