Mathematical Functions
All mathematical functions return a numeric result and only accept numeric arguments.
$FACOS(n) |
Arc cosine (degrees) Returns: Numeric |
This function returns the arc cosine of the argument n. The resulting value is in degrees. The argument to $FACOS must be between –1 and 1 inclusive.
$FASIN(n) |
Arc sine (degrees) Returns: Numeric |
This function returns the arc sine of the argument n. The resulting value is in degrees. The argument to $FASIN must be between –1 and 1 inclusive.
$FATAN(n) |
Arc tangent (degrees) Returns: Numeric |
This function returns the arc tangent of the argument n. The resulting value is in degrees.
$FATAN2(n1,n2) |
Arc tangent (degrees) given 2 arguments Returns: Numeric |
This function returns the arc tangent of the expression n1/n2. The resulting value will be greater than –180 degrees and less than or equal to 180 degrees. If the value of n1 is positive, the result is positive. When the value of n1 is zero, the result will be zero if n2 is positive and 180 degrees if n2 is negative. If the value of n2 is zero, the absolute value of the result will be 90 degrees. Both n1 and n2 must not be zero.
$FCOS(n) |
Cosine (degrees) Returns: Numeric |
This function returns the cosine of the argument n. The argument must be given in degrees.
$FEXP(n) |
Exponential Returns: Numeric |
This function returns the exponential constant e raised to the power of the argument n.
$FLN(n) |
Natural logarithm Returns: Numeric |
This function returns the natural logarithm (base e) of the argument n.
$FLOG(n) |
Common logarithm Returns: Numeric |
This function returns the decimal logarithm (base 10) of the argument n.
$FSIN(n) |
Sine (degrees) Returns: Numeric |
This function returns the sine of the argument n. The argument must be given in degrees.
$FSQRT(n) |
Square root Returns: Numeric |
This function returns the square root of n. The argument to $FSQRT must be greater than or equal to zero.
$FTAN(n) |
Tangent (degrees) Returns: Numeric |
This function returns the tangent of the argument n. The argument must be given in degrees.