Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can BigDecimal tell me which currency a monetary value is denominated in?


No, but Java has a specification (JSR 354) to build money and currency APIs [0].

A library built upon it can be found here [1].

[0]: https://jcp.org/en/jsr/detail?id=354

[1]: https://javamoney.github.io/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: