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