You are on page 1of 2

The framework includes a set of already implemented functions.

Name Abs Acos Asin Atan Ceiling Cos Exp Floor

Description Returns the absolute value of a specified number. Returns the angle whose cosine is the specified number. Returns the angle whose sine is the specified number. Returns the angle whose tangent is the specified number. Returns the smallest integer greater than or equal to the specified number. Returns the cosine of the specified angle. Returns e raised to the specified power.

Usage Abs(-1) Acos(1) Asin(0) Atan(0) Ceiling(1.5) Cos(0) Exp(0)

Result 1M 0d 0d 0d 2d 1d 1d 1d

Returns the largest integer less than or equal Floor(1.5) to the specified number.

Returns the remainder resulting from the IEEERemainder division of a specified number by another specified number. Log Log10 Max Min Pow Returns the logarithm of a specified number.

IEEERemainder(3, -1d 2) Log(1, 10) 0d 0d 2 1 9d

Returns the base 10 logarithm of a specified Log10(1) number. Returns the larger of two specified numbers. Returns the smaller of two numbers. Returns a specified number raised to the specified power. Rounds a value to the nearest integer or specified number of decimal places. The mid number behaviour can be changed by using EvaluateOption.RoundAwayFromZero during construction of the Expression object. Returns a value indicating the sign of a Max(1, 2) Min(1, 2) Pow(3, 2)

Round

Round(3.222, 2)

3.22d

Sign

Sign(-10)

-1

number. Sin Sqrt Tan Truncate Returns the sine of the specified angle. Returns the square root of a specified number. Returns the tangent of the specified angle. Calculates the integral part of a number. Sin(0) Sqrt(4) Tan(0) Truncate(1.7) 0d 2d 0d 1

It also includes other general purpose ones.

Name in if

Description

Usage

Result true 'value is true'

Returns whether an element is in a set in(1 + 1, 1, 2, 3) of values. Returns a value based on a condition. if(3 % 2 = 1, 'value is true', 'value is false')

You might also like