Juniper Systems Allegro CX Manual User Manual
Page 148
148 Allegro CX Owner’s Manual
Ceiling(number, signifi cance)
Returns the number rounded up to the nearest multiple of the
signifi cance.
Example: Ceiling(10.43, 0.1) equals 10.5.
Combin(number, numberChosen)
Returns the number of combinations. Number is the number of
items, numberChosen is the number of items in each combination.
Example: Combin(10, 2) equals 45.
Cos(number)
Returns the cosine of the given angle.
Example: Cos(0.5) equals 0.87758.
Cosh(number)
Returns the hyperbolic cosine of a number.
Example: Cosh(5) equals 74.20995.
Degrees(number)
Converts radians into degrees.
Example: Degrees(Pi()/2) equals 90.
Even(number)
Returns the number rounded up to the nearest even integer.
Example: Even(1.3) equals 2.
Exp(number)
Returns e raised to the power of the number.
Example: Exp(Ln(2)) equals 2.
Fact(number)
Returns the factorial of a number. The number must be nonnegative
number.
Example: Fact(5) equals 120.
Floor(number, signifi cance)
Rounds the number down, toward zero, to the nearest multiple of
the signifi cance.
Example: Floor(3.5, 1) equals 3.