| java.lang.Object org.apache.derby.client.am.Decimal
Decimal | public class Decimal (Code) | | Converters from fixed point decimal bytes to java.math.BigDecimal , double , or
long .
|
Method Summary | |
final public static int | bigDecimalToPackedDecimalBytes(byte[] buffer, int offset, java.math.BigDecimal b, int declaredPrecision, int declaredScale) Write a Java java.math.BigDecimal to packed decimal bytes. | final public static java.math.BigDecimal | getBigDecimal(byte[] buffer, int offset, int precision, int scale) Build a java.math.BigDecimal from a fixed point decimal byte representation. | final public static double | getDouble(byte[] buffer, int offset, int precision, int scale) Build a Java double from a fixed point decimal byte representation. | final public static long | getLong(byte[] buffer, int offset, int precision, int scale) Build a Java long from a fixed point decimal byte representation. |
PACKED_DECIMAL | final public static int PACKED_DECIMAL(Code) | | Packed Decimal representation
|
bigDecimalToPackedDecimalBytes | final public static int bigDecimalToPackedDecimalBytes(byte[] buffer, int offset, java.math.BigDecimal b, int declaredPrecision, int declaredScale) throws SqlException(Code) | | Write a Java java.math.BigDecimal to packed decimal bytes.
|
|
|