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