10.5.1 FieldDecimals
FieldDecimals returns the number of decimal places as specified in the field definition.
FieldDecimals only evaluates the decimal places for packed and signed fields. All other field types will return 0.
Input Parameters
None
Example
#Decimals := #Std_price.FieldDecimals
In this example, decimals would take a value of 2. Std_Price is a standard LANSA supplied field that is defined as a packed 9, 2 in the data dictionary.
Ý 10.5 Field Intrinsic Functions