Table of Contents

Advertisement

162
CHAPTER 6 Command Reference
OMS$
Function:
(Argument)
Numeric expression
®
Converts a given decimal argument to a character string in the sexagesimal nota-
tion.
Parameter:
Argument
:
Numeric expression.
I
Numeric expression
l
<
10
100
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
I
numeric expression I
<
10
5
,
the
value of the numeric expression itself will be
displayed if outside this range
.
I
3) The result will be given as a character string.
Example:
OMS$(
180/7l')
~
OMS$ ( 4 5 . 6 7 8
l
~
DMS$(99999.999l
~
OMS$ (
100000. 1
l
~
10
INPUT A
20 $
=
DMS$(Al
30 PRINT $
40 END

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents