public interface XSDecimal
Interface to expose the value of 'decimal' and related datatypes.
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getBigDecimal() |
java.math.BigInteger |
getBigInteger() |
byte |
getByte() |
int |
getInt() |
long |
getLong() |
short |
getShort() |
java.math.BigDecimal getBigDecimal()
BigDecimal
representation of this objectjava.math.BigInteger getBigInteger() throws java.lang.NumberFormatException
BigInteger
representation of this objectjava.lang.NumberFormatException
- if the value cannot be represented as a BigInteger
long getLong() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if the value cannot be represented as a long
int getInt() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if the value cannot be represented as a int
short getShort() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if the value cannot be represented as a short
byte getByte() throws java.lang.NumberFormatException
java.lang.NumberFormatException
- if the value cannot be represented as a byte
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.