54
4-2-5
Arithmetic Operation Functions
ABS Function
Purpose:
To return the absolute value of the numeric expression specified
by the argument
Format:
ABS(<x>)
Example:
A = ABS (-1.5)
ACOS Function
Purpose:
To return the arc cosine of the numeric expression given by the
argument
Format:
ACOS(<x>)
<x> is a number in the range of -1 to 1.
Example:
A = ACOS (1)
Remarks:
The arc cosine is given in radian units in the range of 0 to pi.
ASIN Function
Purpose:
To return the arc sine of the value given by the argument
Format:
ASIN(<x>)
<x> is a number in the range of -1 to 1.
Example:
A = ASIN (1)
Remarks:
The arc sine is given in radian units in the range of -pi/2 to pi/2.
ATN Function
Purpose:
To return the arc tangent of the value given by the argument
Format:
ATN(<x>)
<x> is a number in the range of -1 to 1.
Example:
A = ATN (1)
Remarks:
The arc tangent is given in radian units in the range of -pi/2 to
pi/2.
CDBL Function
Purpose:
To convert a single-precision numeric value into double-precision
Format:
CDBL(<x>)
Example:
CDBL (2/3)
CINT Function
Purpose:
To round off a numeric value at the decimal point and convert it
into an integer
Format:
CINT(<x>)
Example:
A = CINT(B#)
COS Function
Purpose:
To return the cosine of the numeric value given by the argument
Format:
COS(<x>)
<x> is an expression in radian units.
Example:
A = COS(pi/2)
Commands, Statements, and Functions
Содержание C500-ASC04
Страница 1: ...C500 ASC04 ASCII Unit Operation Manual Revised February 2001 ...
Страница 5: ...iv ...
Страница 7: ...vi ...