6.6.2.3 Converting Numeric Data
You can convert numeric data easily into different data types, provided that you have enough range in the intermediate and destination types to handle the maximum value you need to represent.
For example, you can convert an FML field of double into a
packed decimal field on the remote target system by specifying an
appropriate dec_t type VIEW
element.
In addition, you can convert numeric values into strings (and
the reverse). 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: Data Translation Rules