152
CHAPTER
6
Command
Reference
FRAC
Function
:
Argument
Numeric expression
Obtains the decimal part
of
a given argument.
Parameter:
Argument:
Numeric expression.
Explanation:
I)
Obtains the decimal part
of
a given
argument.
Its sign agrees with the sign
of
the argument.
2)
As
a rule, the argument is enclosed in parenthesis
but
the parenthesis can be
omitted
if
the argument
is
a variable or a numeric value.
RND
(Argument digit location)
Numeric expression Numeric expression
Function:
Obtains the value
of
a given argument rounded
off
at the specified location.
Parameter:
Argument:
Location:
Explanation:
Numeric expression.
Numeric expression. Values below the decimal point
are discarded. Displays the exponent
n when the loca-
tion
to
be rounded
off
is
1
on.
I location I < 100
1) Obtains the value
of
a given argument which
is
rounded
off
at the specified
location.
2J
If
RND (x
,y)
is
executed, x will be rounded
off
at 1
oY
.
Rounds
off
at the third decimal place (10-
3
)-+
RND (x, -
3)
Rounds
off
at the
lOOs
position
(10
2
)-+
RND (x,
2)
3) The parenthesis cannot be omitted.