Quantcast
Channel: OTMFAQ Forums
Viewing all articles
Browse latest Browse all 2772

Cost Detail- default rounding?

$
0
0
Hello,

Can someone please confirm if OTM's cost record detail will always round a value to 3 decimals in the text output? Is that something hard-coded in OTM code? The example below is for a charge where no currency rounding is applied.


For example:

The Database value is 259.474999999999965893948683515191078186
*I get this - java, floating point, etc.

The UI value is rounded to 2 decimals: 259.47
*I get this- manager layout default unless changed

Cost Detail description where "cost" value is shown rounded to 3
RERCostDetail:
costType = A
cost = 259.475 USD
details = [ 48.5 USD per ......(details omitted from this post to hide sensitive rate structure info for the company).....]


Thanks,

Nick

Viewing all articles
Browse latest Browse all 2772

Trending Articles