Package com.fourjs.report.facturx
Class UnitPriceAmount
- java.lang.Object
-
- java.lang.Number
-
- java.math.BigDecimal
-
- com.fourjs.report.facturx.UnitPriceAmount
-
- All Implemented Interfaces:
Serializable
,Comparable<BigDecimal>
public class UnitPriceAmount 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 UnitPriceAmount
fromString(String value)
BigDecimal
getDisplayValue()
String
toString()
static UnitPriceAmount
valueOf(double value)
static UnitPriceAmount
valueOf(int value)
static UnitPriceAmount
valueOf(String value)
static UnitPriceAmount
valueOf(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
-
fromString
public static UnitPriceAmount fromString(String value)
-
valueOf
public static UnitPriceAmount valueOf(BigDecimal value)
-
valueOf
public static UnitPriceAmount valueOf(String value)
-
valueOf
public static UnitPriceAmount valueOf(double value)
-
valueOf
public static UnitPriceAmount valueOf(int value)
-
getDisplayValue
public BigDecimal getDisplayValue()
-
toString
public String toString()
- Overrides:
toString
in classBigDecimal
-
-