Currency values seem to be uniformly returned in floating point notation. Is it possible to return a currency value in the same representation that it's passed in as? Or, at the least, allow for a notation option (notation="integer")?
For example:
40000, USD --> $40,000 // Integer --> Integer
40000.00, USD --> $40,000.00 // Decimal --> Decimal
Currency values seem to be uniformly returned in floating point notation. Is it possible to return a currency value in the same representation that it's passed in as? Or, at the least, allow for a notation option (
notation="integer")?In practice, I've found that currency values are returned in floating point notation on the server, but in integer notation on the client. Is there a reason for this discrepancy?
Thanks :)