The IfxToJavaDecimal() method

The IfxToJavaDecimal() method converts the HCL OneDB™ 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 HCL OneDB.
length
The data length.