DB2 data type mapping and issues
The following DB2 functions convert DECIMAL values to the DOUBLE data type. The corresponding Actuate SQL functions are implemented using these native functions, and may therefore return slightly inaccurate values, especially for calculations involving very large or very small numbers:
*
*
*
*
When a numeric type is cast to VARCHAR(n) and n is not large enough to accommodate the string, Actuate SQL returns an error. DB2, however, truncates the value without returning an error.
Table 8-1 shows how DB2 data types map to Actuate SQL data types.
Actuate SQL data type
Compiled to DB2 data type
The maximum number of significant digits (precision) for DB2 DECIMAL is 31.
The maximum number of significant digits (precision) for DB2 DECIMAL is 31.

Additional Links:

Copyright Actuate Corporation 2012