The IfxToJavaDouble() method

The IfxToJavaDouble() method converts the HCL OneDB™ DOUBLE PRECISION data type to the Java™ double data type.

Method signature

public static double IfxToJavaDouble (byte b [], short prec)
public static double IfxToJavaDouble (byte b [])
public static double IfxToJavaDouble (byte b [], int offset, int length,
       short prec)
public static double IfxToJavaDouble (byte b [], int offset)

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.