Package | Description |
---|---|
software.amazon.ion |
Public interfaces of the core Ion system.
|
Modifier and Type | Field and Description |
---|---|
static Decimal |
Decimal.NEGATIVE_ZERO
The value -0, with a scale of 0.
|
static Decimal |
Decimal.ZERO
The value 0, with a scale of 0.
|
Modifier and Type | Method and Description |
---|---|
Decimal |
IonDecimal.decimalValue()
Gets the value of this Ion
decimal as a Decimal ,
which extends BigDecimal with support for negative zeros. |
Decimal |
IonReader.decimalValue()
Returns the current value as a
Decimal , which extends
BigDecimal with support for negative zeros. |
static Decimal |
Decimal.negativeZero(int scale)
Returns a negative-zero decimal value, with the given number of
significant digits (zeros).
|
static Decimal |
Decimal.negativeZero(int scale,
MathContext mc)
Returns a negative-zero decimal value, with the given number of
significant digits (zeros) and given context.
|
static Decimal |
Decimal.valueOf(BigDecimal val) |
static Decimal |
Decimal.valueOf(BigDecimal val,
MathContext mc) |
static Decimal |
Decimal.valueOf(BigInteger val) |
static Decimal |
Decimal.valueOf(BigInteger unscaledVal,
int scale) |
static Decimal |
Decimal.valueOf(BigInteger unscaledVal,
int scale,
MathContext mc) |
static Decimal |
Decimal.valueOf(BigInteger val,
MathContext mc) |
static Decimal |
Decimal.valueOf(double val) |
static Decimal |
Decimal.valueOf(double val,
MathContext mc) |
static Decimal |
Decimal.valueOf(int val) |
static Decimal |
Decimal.valueOf(int val,
MathContext mc) |
static Decimal |
Decimal.valueOf(long val) |
static Decimal |
Decimal.valueOf(long val,
MathContext mc) |
static Decimal |
Decimal.valueOf(String val) |
static Decimal |
Decimal.valueOf(String val,
MathContext mc) |