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.
Javaで倍精度よりも小数点以下の桁数が多い数字を「チート」して操作し、それを介して表示する方法があるかどうか疑問に思っていました[Graphics Object].drawString(number, 10, 10);
[Graphics Object].drawString(number, 10, 10);
これはできますか?
BigDecimal クラスを試してください。
http://download.oracle.com/javase/1,5.0/docs/api/java/math/BigDecimal.html