Original Post
Hi, is there a free, easy to use fixed point class to use with java? Thank you all!
Quote:
But why would you expect that answer? The answer would more likely be 259.65.
Quote:
Boy this is elementary programming question. Rouding errors caused by number representation.
Quote:
Original post by H_o_p_s
One thing to remember is that operator overloading could easily be replaced by a function. By creating a replaceall macro in your IDE from 'x+y' to 'BigDecimal.add(x,y)' is a small feat, especially in comparison to rewriting 2000 lines of code.
Quote:
Original post by Son of Cain
Err.. Can't BigDecimal and NumberFormatter handle it for you?
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more