Numbers Overview

Describes numeric data types
Studio supports the following number data types:
Data Type PBL Declaration
Integers Int
Reals Real
Decimals Decimal

Integers (type Int ) are generally used for counting and where whole numbers are suitable for the job. Decimals (type Decimal ) can be defined with a fixed decimal point and are particularly suited to store currency values. Reals (type Real ) have a floating decimal point and can therefore adopt a very large range of values, but shouldn't be used for currency values due to rounding effects.