Input 2.0.0.0; Print 2.0.0 - Casio FX-795P Owner's Manual

Hide thumbs Also See for FX-795P:
Table of Contents

Advertisement

196
CHAPTER 7
Command Reference
DMS $
Function:
(Argument)
:
©
Numeric expression
Converts a given decimal argument to a character string in the sexagesimal nota-
tion.
Parameter:
Argument:
Numeric expression.
\Numeric expression! < 101°°
Explanation:
1) Converts a decimal given as a numeric expression to a character string in the
sexagesimal notation.
2) Although. degrees, minutes and seconds will be displayed with the range of
\numeric expression! < 10°, the value of the numeric expression itself will be
displayed if outside this range.
3) The result will be given as a character string.
Example:
DMS$( 180/77 ded
DMS$( 45.678 JE
DMS$(99999.999)
DMS$(10000@. 1 Jk
1@
INPUT
A
20
$=DMS$(A)
30
PRINT
$
4@
END
nerd
a
o
att
ats
as
7-6
Others
(Argument)
©
HEX
$
.
Numeric expression
Function:
Converts a given decimal argument to a 4-digit hexadecimal character string.
Parameter:
Argument:
Numeric expression
-32769 < numeric expression < 65536
Explanation:
1) Converts a decimal given as a numeric expression to a 4-digit hexadecimal
character string.
2) The value of a numeric expression given as the argument is handled as an
integer with decimals discarded.
3) When the value of an argument exceeds 32768, it will be handled as the value
after subtracting 65536.
<Example>
40000 will be handled as follows.
40000 — 65536 = - 25536
Example:
HEX$( 10000) &@
27igs
HEX$(65535 ) &
FFEFF
HEX$(-1)
(ee
FFFF
1@
INPUT*X=",X
2@
PRINT
'*X=&H"
$HEX$(X)
38
GOTO
108
197

Advertisement

Table of Contents
loading

Table of Contents