474
ESTR, ESTRP
3) If the number of digits following the decimal point has been set at any value other than "0", "2E
H
" (.) will
automatically be stored at the position before the first of the specified number of digits.
If the number of digits in the decimal fraction part is "0", the ASCII code "2E
H
" (.) will not be stored.
4) If the total number of digits, excluding the sign, the decimal point and the decimal fraction part, is greater than
the integer part of the 32-bit floating point type real number data, "20
H
(space)" will be stored between the sign
and the integer part.
5) The value "00
H
" is automatically stored at the end of the converted character string.
For example, in a case where there are 12 digits is total, with 4 digits in the decimal fraction portion, and the value
designated is -12.34567, the operation results would be stored in the area starting from in the following manner:
8
(
T
ota
l
number
of
d
i
g
i
ts)
2
(
N
umber
of
d
i
g
i
ts
i
n
dec
i
ma
l
fract
i
on)
+
2
Automat
i
ca
ll
y
added
N
umber
of
d
i
g
i
ts
i
n
dec
i
ma
l
fract
i
on
0
:
Dec
i
ma
l
po
i
nt
format
+
1
+
1
1
-
.
2 3
-
1
.
2 3
4
5 6
T
ota
l
number
of
d
i
g
i
ts
S2
S1
S2
S2
S1
8
2
+
2
N
umber
of
d
i
g
i
ts
i
n
dec
i
ma
l
fract
i
on
Fill
ed
wi
th
20
H
(space)
codes
0
+
1
+
1
1
-
.
2 3
-
1
.
2 3
4
5 6
T
ota
l
number
of
d
i
g
i
ts
S2
S2
S2
S1
S1
When using exponent format
ASCII code for the sign
b15
b8b7
b0
Total number of digits
Number of digits in decimal fraction
+2
.
Sign (integer part)
+1
00
H
Automatically stored at
the end of character sting
+2
+3
+4
+5
+6
Sign (exponent part)
E
Exponent format
+1
32-bit floating-point real number
Automatically added
+1
ASCII code for the
(total number of digits -2)th digit
45
H
(E)
ASCII code for the
(total number of digits -4)th digit
ASCII code for the
(total number of digits -6)th digit
ASCII code for the
(total number of digits -10)th digit
ASCII code for the
(total number of digits -1)th digit
ASCII code for decimal point (.)
(2E
H
)
ASCII code for the
(total number of digits -5)th digit
ASCII code for the sign
(Exponent part)
ASCII code for the
(total number of digits -7)th digit
ASCII code for the
(total number of digits -11)th digit
S1
S2
D
S2
S2
S1
D
D
D
D
D
D
D
12
4
+2
.
Sign
(integer part)
Automatically added
Sign
(exponent part)
+
1
+1
32-bit floating-point real number
+1
b8 b7
b0
00
H
+1
+2
+3
+4
+5
+6
-1 2 . 34 5 6 7
1
-
2 3 4 6 E
0 1
2D
H
(-)
31
H
(1)
32
H
(2)
34
H
(4)
45
H
(E)
30
H
(0)
20
H
(space)
2E
H
(.)
33
H
(3)
36
H
(6)
2C
H
(+)
31
H
(1)
S2
S1
D
D
D
D
D
D
D
b15
S1
S2
S2