6.2.2 Converting Numeric Data
You can convert numeric data into different data types easily, if you specify enough range in the intermediate and destination types to handle the maximum value needed.
For example, you can convert a Field Manipulation Language (FML)
field of double into a packed decimal field on the remote target
system by specifying an appropriate dec_t type
VIEW
element.
You can also convert numeric values into strings. For example, while FML buffers do not directly support the dec_t type
, you can place decimal values in string fields and map these to dec_t
fields within VIEW definitions.
Parent topic: Translation Rules for VIEW Data Types