Target | Conversion |
c | The value of the floating point number is formatted in scientific notation and is copied into the target field aligned to the right. The exponent is always displayed with a plus/minus sign and at least two digits. If the target field is shorter than the complete notation, the mantissa is rounded up. If the target field is not long enough to include at least one digit of the mantissa apart from the exponent and the minus sign (for a negative value), the target field is filled with "*" characters. If the target field is longer than the complete notation, it is filled with blank characters from the left. |
d | The content of the source field is first converted to the data type i (see below), and then to the type d (see the conversion table for source field type i, b or s). |
f | The content of the source field is transferred unconverted. |
i, b, s | The value of the floating point number is rounded up to an integer. If this number is within the value range for the data type i, b, or s, it is converted to the internal representation of an integer number. If the number is not within this range, it leads to a treatable exception. |
n | The value of the floating point number is rounded up to the nearest integer. The absolute value is transferred as a character string right-aligned to the target field. If the target field is longer than the character string, the field is filled with zeros from the left. If the target field is too short, the value is cut off from the left. |
p | The value of the floating point number is rounded to the number of decimal places in the target field. If this number is within the value range for the data type of the target field, it is converted to the internal representation of a packed number. Otherwise, a treatable exception occurs. |
string | The value of the floating point number is formatted in scientific notation and transferred to the target field with no gaps. The exponent is always displayed with a plus/minus sign and at least two digits, and the mantissa with 16 decimal places. Depending on the plus/minus sign and the length of the exponent, the resulting length of the target field is between 22 and 24. |
t | The content of the source field is first converted to the data type i (see above), and then into the type t (see the conversion table for source field type i, b, or s). |
x | The content of the source field is first converted to the data type i (see above), and then to the type x (see the conversion table for source field type i, b, or s). |
xstring | The content of the source field is first converted to the data type i (see above), and then to the type xstring (see the conversion table for source field type i, b, or s). |