public static class Conversion.Sym extends Conversion
convert(double) just returns the value passed in.Conversion.Add, Conversion.Int, Conversion.Mul, Conversion.Pow, Conversion.Rat, Conversion.Symconversions| Constructor and Description | 
|---|
Sym(char sym)  | 
Sym(java.lang.String sym)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.math.BigDecimal | 
convert(double original)
Primary operator for  
Conversion instances. | 
public java.math.BigDecimal convert(double original)
ConversionConversion instances.convert in class Conversionoriginal - A unit value which is to be processed through the
    tree-like representation of this equation. Only Conversion.Sym objects
    will actually use the "original" value.BigDecimal result from the calculation. If this value
    maps to Double.NEGATIVE_INFINITY or
    Double.POSITIVE_INFINITY, then a BigResult exception
    should be thrown before returning to clients.