The IfxToJavaDecimal() method
The IfxToJavaDecimal() method converts the HCL Informix® DECIMAL data type to the Java™ java.lang.Bignum data type.
Method signature
public static java.math.BigDecimal IfxToJavaDecimal (byte b [], short prec)
public static java.math.BigDecimal IfxToJavaDecimal (byte b [], int offset,
int length, short prec)
Input parameters
- b
- The bytes encoding data
- offset
- The offset into byte array.
- prec
- The precision as received from Informix.
- length
- The data length.