public static class Conversion.Int extends Conversion
Conversion.Add, Conversion.Int, Conversion.Mul, Conversion.Pow, Conversion.Rat, Conversion.Symconversions| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
convert(double original)
Returns a
BigDecimal representation of this int. |
public Int(long i)
public Int(String s)
public BigDecimal convert(double original)
BigDecimal representation of this int.
Original argument is ignored.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.
Version: 5.2.1-ice35-b15
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.