Choosing efficient data types

Using the SYNCHRONIZED clause can produce more efficient code.

About this task

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