Numeric Functions
From Apache OpenOffice Wiki
< Documentation | DevGuide
Apache OpenOffice Basic supports standard numeric functions, such as:
-
Cos
calculating the cosine of an angle -
Sin
calculating the sine of an angle -
Tan
calculating the tangent of an angle -
Atn
calculating the arctangent of a numeric value -
Exp
calculating the base of the natural logarithm (e = 2.718282) raised to a power -
Log
calculating the natural logarithm of a number -
Sqr
calculating the square root of a numeric value -
Abs
calculating the absolute value of a numeric value -
Sgn
returning -1 if the passed numeric value is negative, 1 if it is positive, 0 if it is zero.
Content on this page is licensed under the Public Documentation License (PDL). |