1
0
mirror of https://github.com/DanilaFe/abacus synced 2025-01-09 23:58:09 -08:00

Add comment to PreciseNumber.

This commit is contained in:
Danila Fedorin 2017-08-01 10:49:50 -07:00
parent 2cf41c1029
commit 6f99f07150

View File

@ -1,9 +1,12 @@
package org.nwapw.abacus.number; package org.nwapw.abacus.number;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode; import java.math.RoundingMode;
/**
* A number that uses a BigDecimal to store its value,
* leading to infinite possible precision.
*/
public class PreciseNumber implements NumberInterface { public class PreciseNumber implements NumberInterface {
/** /**