public class CompatibleBigDecimal extends BigDecimal
ONE, ROUND_CEILING, ROUND_DOWN, ROUND_FLOOR, ROUND_HALF_DOWN, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_UNNECESSARY, ROUND_UP, TEN, ZERO| Constructor and Description |
|---|
CompatibleBigDecimal(BigDecimal bd)
Constructor
|
CompatibleBigDecimal(String num) |
| Modifier and Type | Method and Description |
|---|---|
String |
toCompatibleString()
Compatible toString functionality
|
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, stripTrailingZeros, subtract, subtract, toBigInteger, toBigIntegerExact, toEngineeringString, toPlainString, toString, ulp, unscaledValue, valueOf, valueOf, valueOfbyteValue, shortValuepublic CompatibleBigDecimal(BigDecimal bd)
public CompatibleBigDecimal(String num)
public String toCompatibleString()
BigDecimal.toString()Copyright © 2002–2019 Starter Inc.. All rights reserved.