Fraction

Tom Eugelink tbee at tbee.org
Sun Jan 1 16:54:56 UTC 2012


Hello guys,

I was wondering if it was of any interest to OpenJFX to have a calculation class that does not round. I've got "Fraction" laying around, which does math using two BigIntegers, so it never even rounds. The API is roughly equivalent to BigDecimal, so you have methods like add, divide, etc.

Any interest in adding such a class to Java?

Tom




More information about the core-libs-dev mailing list