Appendix A. CRBasic Programming Instructions
475
COS
Returnsthecosineofananglespecifiedinradians.
Syntax
x = COS(source)
COSH
Returnsthehyperboliccosineofanexpressionorvalue.
Syntax
x = COSH(source)
SIN
Returnsthesineofanangle.
Syntax
x = SIN(source)
SINH
Returnsthehyperbolicsineofanexpressionorvalue.
Syntax
x = SINH(Expr)
TAN
Returnsthetangentofanangle.
Syntax
x = TAN(source)
TANH
Returnsthehyperbolictangentofanexpressionorvalue.
Syntax
x = TANH(Source)
A.6.7 Arithmetic Functions
ABS
Returnstheabsolutevalueofanumber.
Syntax
x = ABS(source)
ABSLong
Returnstheabsolutevalueofanumber.ReturnsavalueofdatatypeLongwhen
theexpressionistypeLong.
Syntax
x = ABS(source)
Ceiling
Roundsavaluetoahigherinteger.
Syntax
variable = Ceiling(Number)
EXP
Returnse(thebaseofnaturallogarithms)raisedtoapower.
Syntax
x = EXP(source)