
Section 10. CRBASIC Programming Instructions
ASIN
The ASIN function returns the arc sin of a number.
Syntax
x = ASIN(source)
ATN
Returns the arctangent of a number.
Syntax
x = ATN(source)
ATN2
Returns the arctangent of y / x.
Syntax
x = ATN(y , x)
COS
Returns the cosine of an angle specified in radians.
Syntax
x = COS(source)
SIN
Returns the sine of an angle.
Syntax
x = SIN(source)
TAN
Returns the tangent of an angle.
Syntax
x = TAN(source)
10.6.4 Arithmetic Functions
ABS
Returns the absolute value of a number.
Syntax
x = ABS(source)
EXP
Returns e (the base of natural logarithms) raised to a power
Syntax
x = EXP(source)
FRAC
Returns the fractional part of a number.
Syntax
x = FRAC(source)
INT or FIX
Return the integer portion of a number.
Syntax
x = INT(source)
x = Fix(source)
102
Comentarios a estos manuales