java - How are values rounded off in NetSuite -


what pattern of netsuite when comes rounding off value in purchase orders , invoices.i need scenario needs handled while rounding off values.for instance if value of 123.987 rounded 2 decimal digit value i.e123.99 since value 123.99 again rounds off 124. anymore scenario not aware of, or needs handled.

thank in advance

see other answers general rounding.

the area care needs taken in scenario item rate value beyond 2 digits. lets customer has negotiated rate of $0.0756 per kg , want sell 1000 kg. set custom price level , set rate $0.0756 , quantity 1000. think extended line amount should $75.60 instead $76.00. because rate currency value in ns , retain 2 decimal places amount calculated though rate $0.76/kg

this rounding issue in netsuite of aware. otherwise ns uses same rounding algorithms defined javascript (which can produce interesting rounding surprises - see rounding quirk in javascript or ieee-754? )


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -