Package | Description |
---|---|
org.apache.commons.math3.fraction |
Fraction number type and fraction number formatting.
|
Modifier and Type | Method and Description |
---|---|
StringBuffer |
FractionFormat.format(Object obj,
StringBuffer toAppendTo,
FieldPosition pos)
Formats an object and appends the result to a StringBuffer.
|
Constructor and Description |
---|
BigFraction(double value,
double epsilon,
int maxIterations)
Create a fraction given the double value and maximum error allowed.
|
BigFraction(double value,
int maxDenominator)
Create a fraction given the double value and maximum denominator.
|
Fraction(double value)
Create a fraction given the double value.
|
Fraction(double value,
double epsilon,
int maxIterations)
Create a fraction given the double value and maximum error allowed.
|
Fraction(double value,
int maxDenominator)
Create a fraction given the double value and maximum denominator.
|
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.