Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
そこで、JScience を使用して Amount クラスでいくつかの計算を行っています。
問題は、私が特にお金を扱っていることです。私が見る限り、Amount は内部表現として double を使用しています。明らかに、 double がそれほど正確ではないという問題があります。
BigDecimal、double などから選択できる Measure がありますが、それらの間に算術演算はありません。
ライブラリに不足しているクラスはありますか、それとも独自のクラスを展開する必要がありますか?