We are seeing an odd result in certain cases when we are retrieving the estimate total from a Get Estimate call and when retrieving the depositBalance from a Get Customer call.
At certain times the value that comes back to our java code is different then the value that is in the SOAP response that can be found in the Web Service Usage Log in the Netsute UI.
For example:
We made a call to Get Estimate and the SOAP response has <tranSales:total>1142.12</tranSales:total> however when calling getTotal() on the java object it gives us 1142.1
We made a call to Get Customer and the SOAP response has <listRel:depositBalance>2376.74</listRel:depositBalance> however when calling getDepositBalance() on the java obejct it gives us 2376.73
Any thoughts on what is going on here? Is Netsuite logging one value (print friendly) and then sending a value that has its precision much further out?
This is a major problem because we are not asking customers for enough money and at other times asking them for too much money. Sure it is pennies but overtime it adds up.
Thoughts? Ideas? Is this a known problem? Isn't it safer to communicate all values as pennies so the value is an integer. Stripe for example does this.