mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
b1df11acfa
Rewrite ExchangeRate to use BigDecimal for the quantity multiplication, to ensure that there is no loss of precision during the conversion process. The previous version using double-precision floating point maths inherently means that the precision is not fixed, but is floating. Change ExchangeRate to an abstract class rather than an interface, so the functions on it can be implemented directly rather than being extension functions, to improve Java compatibility. |
||
---|---|---|
.. | ||
jackson | ||
jfx | ||
mock | ||
rpc |