Controlling how Db2 rounds decimal floating point numbers

You can specify a default rounding mode that Db2 is to use for all DECFLOAT values.

Procedure

To control how Db2 rounds decimal floating point numbers:

Set the CURRENT DECFLOAT ROUNDING MODE special register.