03/03
The element "positions_before_decimal" defines the minimum number of digits
which may be indicated to the left of the decimal point. This value should be large
enough to hold the expected data value including a sign if necessary.
If the number of positions specified in the element "positions_before_decimal" is
not sufficient to completely indicate a current value, this value is still presented
completely. The specified format is ignored in such cases. If the representation of a
current value requires fewer positions than specified in the element "posi-
tions_before_decimal," the remaining positions are filled with blanks. The valid
range for the element "positions_before_decimal" is between 1 and 10.
The element "positions_after_decimal" defines the number of digits shown to the
right of the decimal point. If a data value to the right of the decimal point contains
zeros, these are represented as defined by the element "positions_after_decimal."
If the element "positions_after_decimal" is zero, the value is indicated without
decimal point. The valid range for the element "positions_after_decimal" is between
01 and 10.
The format element specifies the format for indicating the embedded value. The
format element permits the following characters.
• I,i:
• U,u:
• H,h:
• F,f:
Example:
Below are several examples of how different formatting instructions affect the
presentation of a current value.
16#F4 in address VB0
16#F4 in address VB0
16#F4 in address VB0
16#0C in address VB0
16#0C in address VB0
(16#00 for the next byte)
16#0C in address VB0
(16#00 for the next 3 bytes)
Table 5
CP 243-1 IT
J31069-D0429-U001-A0-7618
Whole number with sign
Whole number without sign
Hexadecimal
Floating point, real
Current Value
Examples of formatting instructions for placeholders in e-mails
Formatting In-
struction
%VB0:1.0I%
%VB0:6.0I%
%VB0:6.3I%
%VB0:2.0H%
%VW0:4.0H%
%VD0:8.0H%
Configuration
Output
( = One Blank)
-12
-12
-0.012
16#0C
16#000C
16#0000000C
59