Method Summary |
|
public double | doubleValue() Returns the scale in a form usable for computation. |
public boolean | equals(Object object) Compares this object with the specified value for equality. |
public float | floatValue() Returns the scale as a
float type. |
public static RepresentativeFraction | fromScale(double scale) Creates a representative fraction from a scale as a
double value. |
public int | getDenominator() Returns the number below the line in a vulgar fraction. |
public int | hashCode() Returns a hash value for this representative fraction. |
public int | intValue() Returns 0 since the scale is a fraction between 0 and 1. |
public long | longValue() Returns 0 since the scale is a fraction between 0 and 1. |
public double | toScale() Returns the scale. |