A.6.7 arithmetic functions – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 497

Appendix A. CRBasic Programming Instructions
497
COS
Returns the cosine of an angle specified in radians.
Syntax
x = COS(source)
COSH
Returns the hyperbolic cosine of an expression or value.
Syntax
x = COSH(source)
SIN
Returns the sine of an angle.
Syntax
x = SIN(source)
SINH
Returns the hyperbolic sine of an expression or value.
Syntax
x = SINH(Expr)
TAN
Returns the tangent of an angle.
Syntax
x = TAN(source)
TANH
Returns the hyperbolic tangent of an expression or value.
Syntax
x = TANH(Source)
A.6.7 Arithmetic Functions
ABS
Returns the absolute value of a number.
Syntax
x = ABS(source)
ABSLong
Returns the absolute value of a number. Returns a value of data type Long when
the expression is type Long.
Syntax
x = ABS(source)
Ceiling
Rounds a value to a higher integer.
Syntax
variable = Ceiling(Number)
EXP
Returns e (the base of natural logarithms) raised to a power.
Syntax
x = EXP(source)