|
|
|
|
|
by irond13
2515 days ago
|
|
Also in Fintech. In some cases it is actually necessary to have more than 2 decimal places. For example, interest accrued daily, but only ‘compounded’ monthly. In those cases, it is necessary to maintain far more than the 2 decimal places for the daily accruals. The best type to use here would be BigDecimal or equivalent. These ultimately serialise to infinite length strings. |
|