org.apache.derby.client.am
Class Decimal
- java.lang.Object
-
- org.apache.derby.client.am.Decimal
-
public class Decimal extends java.lang.ObjectConverters from fixed point decimal bytes tojava.math.BigDecimal,double, orlong.
-
-
Field Summary
Fields Modifier and Type Field and Description static intPACKED_DECIMALPacked Decimal representation
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intbigDecimalToPackedDecimalBytes(byte[] buffer, int offset, java.math.BigDecimal b, int declaredPrecision, int declaredScale)Write a Javajava.math.BigDecimalto packed decimal bytes.
-
-
-
Field Detail
-
PACKED_DECIMAL
public static final int PACKED_DECIMAL
Packed Decimal representation- See Also:
- Constant Field Values
-
-
Method Detail
-
bigDecimalToPackedDecimalBytes
public static final int bigDecimalToPackedDecimalBytes(byte[] buffer, int offset, java.math.BigDecimal b, int declaredPrecision, int declaredScale) throws SqlExceptionWrite a Javajava.math.BigDecimalto packed decimal bytes.- Throws:
SqlException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG