Reputation: 7074
I was wondering if there is a way to "cheat" and work with numbers with way more decimal places than a double in Java, and then display it via [Graphics Object].drawString(number, 10, 10);
Can I do this?
Upvotes: 3
Views: 1651
Reputation: 9579
Try the BigDecimal class.
http://download.oracle.com/javase/1,5.0/docs/api/java/math/BigDecimal.html
Upvotes: 3