Package com.fourjs.report.facturx
Class Amount
- java.lang.Object
-
- java.lang.Number
-
- java.math.BigDecimal
-
- com.fourjs.report.facturx.Amount
-
- All Implemented Interfaces:
Serializable,Comparable<BigDecimal>
public class Amount extends BigDecimal
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.math.BigDecimal
ONE, ROUND_CEILING, ROUND_DOWN, ROUND_FLOOR, ROUND_HALF_DOWN, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_UNNECESSARY, ROUND_UP, TEN, ZERO
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AmountfromString(String value)BigDecimalgetDisplayValue()StringtoString()static AmountvalueOf(double value)static AmountvalueOf(int value)static AmountvalueOf(String value)static AmountvalueOf(BigDecimal value)-
Methods inherited from class java.math.BigDecimal
abs, abs, add, add, byteValueExact, compareTo, divide, divide, divide, divide, divide, divide, divideAndRemainder, divideAndRemainder, divideToIntegralValue, divideToIntegralValue, doubleValue, equals, floatValue, hashCode, intValue, intValueExact, longValue, longValueExact, max, min, movePointLeft, movePointRight, multiply, multiply, negate, negate, plus, plus, pow, pow, precision, remainder, remainder, round, scale, scaleByPowerOfTen, setScale, setScale, setScale, shortValueExact, signum, sqrt, stripTrailingZeros, subtract, subtract, toBigInteger, toBigIntegerExact, toEngineeringString, toPlainString, ulp, unscaledValue, valueOf, valueOf
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
valueOf
public static Amount valueOf(BigDecimal value)
-
valueOf
public static Amount valueOf(double value)
-
valueOf
public static Amount valueOf(int value)
-
getDisplayValue
public BigDecimal getDisplayValue()
-
toString
public String toString()
- Overrides:
toStringin classBigDecimal
-
-