Choosing efficient data types

Using the SYNCHRONIZED clause can produce more efficient code.

Consistent data types can reduce the need for conversions during operations on data items. You can also improve program performance by carefully determining when to use fixed-point and floating-point data types.

related concepts  
Formats for numeric data