Panasonic FP7 Series Command Reference Manual page 722

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.14 PRINT/EPRINT Instruction Shared Conversion Form Table
Conversion
Items
form
%x
%5x
%10.5x
%b
%5b
%f
%8.3f
%e
%10.3e
%g
%8.6g
%05d
%05x
Specification
of zero
%05b
padding
%08.3f
%010.3e
%-5d
%-5x
Specification
of right align
%-5b
and left align
%-8.3f
%-010.3e
%+d
%+d
Specification
%+5d
of sign
%+8.3f
%+10.3e
%␣d
%␣d
Specification
%␣8.3f
of numerical
%␣8.3f
position
%␣10.3e
%␣10.3e
Specification
%#x
of another
%#X
output format
for numerical
%#8.0f
data type
14-72
BIN data before
ASCII data after
conversion
conversion
H 12A
"12a"
H 12A
"␣␣12a"
H 12A
"␣␣␣␣␣0012a"
H 123
"123"
H 123
"␣␣123"
SF 123.4567
"123.4567"
SF 123.4567
"␣123.457"
SF 1234.567
"1.234567e+03"
SF 1234.567
"␣1.235e+03"
SF 1234.567
"1234.567"
SF 1234.567
"␣1234.57"
K 100
"00100"
H 12A
"0012a"
H 123
"00123"
SF 123.4567
"0123.457"
SF 1234.567
"01.235e+03"
K 100
"100␣␣"
H 12A
"12a␣␣"
H 123
"123␣␣"
SF 123.4567
"123.457␣"
SF 1234.567
"1.235e+03␣"
K 100
"+100"
K -100
"-100"
K 100
"␣+100"
123.4567
"+123.457"
1234.567
"+1.234e+03"
K 100
"␣100"
K -100
"-100"
SF 123.4567
"␣123.457"
SF -123.4567
"-123.457"
SF 1234.567
"␣1.235e+03"
SF -1234.567
"-1.235e+03"
H 12A
"0x12a"
H 12A
"0X12A"
SF 123.4567
"␣␣␣␣123."
Description
n: Total number of characters, m:
Number of characters of precision
<Number of characters of precision>
[d , ld , i , Li , u , Lu , x , Lx , X , LX , b ,
Lb ] represents the number of
characters of numerical strings.
[f , Lf , e , Le , E , LE ] represents the
number of characters after the decimal
point. Be sure to also specify the
number of places after the decimal
point.
[g , Lg , G , LG] represent the number
of significant figures.
If there is no specification for the
number of characters, the number of
digits for the data after conversion and
the storage area size will vary
according to the data before
conversion.
When the setting for the display digit is
available, zero padding can be
specified. Put zero (0) before the
display digit.
Default is right align. To set to left align,
add minus (-) before the specification of
digit number.
This option is specified to add a plus
sign (+). A plus sign (+) is not added by
default.
In the case of a positive number, a
space is added to align the positive
number with negative numbers.
When specifying %u, %x, or %b,
existence of "␣" does not affect the
results.
"0x" is added.
"0X" is added.
"." is always added.
WUME-FP7CPUPGR-12
Another output
type is
automatically
given by
adding "#".

Advertisement

Table of Contents
loading

Table of Contents