float value.Warning
This interface should not be implemented or extended by code outside of this library.
decimal values instead.
Please read the
Decimal Arithmetic
FAQ for horror stories.
If you have any doubt whatsoever on whether you should use float or
decimal, then you should use decimal.
IonDecimal
| Modifier and Type | Method and Description |
|---|---|
| public BigDecimal | bigDecimalValue()
Redeclares com. Gets the value of this Ion |
| public IonFloat | clone()
Redeclares com. Creates a copy of this value and all of its children. |
| public double | |
| public float | |
| public boolean | Returns: a checked condition whether this value is numeric.Redeclares com. Determines whether this value is numeric. |
| public void | |
| public void | |
| public void | setValue(BigDecimal
the new value of this float;
may be value)null to make this null.float.Sets the value of this element. |
| bigDecimalValue | back to summary |
|---|---|
| public BigDecimal bigDecimalValue() throws NullValueException Redeclares com. Gets the value of this Ion
| |
| clone | back to summary |
|---|---|
| public IonFloat clone() throws UnknownSymbolException Redeclares com. Doc from com. Creates a copy of this value and all of its children. The cloned value
may use the same shared symbol tables, but it will have an independent local
symbol table if necessary. The cloned value will
be modifiable regardless of whether this instance
The cloned value will be created in the context of the same
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() throws NullValueException Gets the value of this Ion
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() throws NullValueException Gets the value of this Ion
| |
| isNumericValue | back to summary |
|---|---|
| public boolean isNumericValue() Redeclares com. Determines whether this value is numeric. Returns true if this value
is none of
| |
| setValue | back to summary |
|---|---|
| public void setValue(float value) Sets the value of this element. | |
| setValue | back to summary |
|---|---|
| public void setValue(double value) Sets the value of this element. | |
| setValue | back to summary |
|---|---|
| public void setValue(BigDecimal value) Sets the value of this element.
Since Ion
| |