- SpreadJS Overview
- Getting Started
- JavaScript Frameworks
- Best Practices
- Features
- SpreadJS Designer
- SpreadJS Designer Component
- SpreadJS Collaboration Server
- Touch Support
-
Formula Reference
- Formula Overview
-
Formula Functions
- Barcode Functions
- Compatibility Functions
- Database Functions
- Date and Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Logical Functions
- Lookup and Reference Functions
-
Math and Trigonometric Functions
- ABS
- ACOS
- ACOSH
- ACOT
- ACOTH
- AGGREGATE
- ARABIC
- ASIN
- ASINH
- ATAN
- ATAN2
- ATANH
- BASE
- CEILING
- CEILING.MATH
- CEILING.PRECISE
- COMBIN
- COMBINA
- COS
- COSH
- COT
- COTH
- CSC
- CSCH
- DECIMAL
- DEGREES
- EVEN
- EXACT
- EXP
- FACT
- FACTDOUBLE
- FLOOR.MATH
- FLOOR.PRECISE
- GCD
- INT
- ISO.CEILING
- LCM
- LET
- LN
- LOG
- LOG10
- MDETERM
- MINVERSE
- MMULT
- MOD
- MROUND
- MULTINOMIAL
- MUNIT
- ODD
- PI
- POWER
- PRODUCT
- QUOTIENT
- RADIANS
- RAND
- RANDARRAY
- RANDBETWEEN
- ROMAN
- ROUND
- ROUNDDOWN
- ROUNDUP
- SEC
- SECH
- SEQUENCE
- SERIESSUM
- SIGN
- SIN
- SINH
- SQRT
- SQRTPI
- SUBTOTAL
- SUM
- SUMIF
- SUMIFS
- SUMPRODUCT
- SUMSQ
- SUMX2MY2
- SUMX2PY2
- SUMXMY2
- TAN
- TANH
- TRUNC
- Statistical Functions
- Sparkline Functions
- Text Functions
- Web Functions
- RegEx Functions
- Other Functions
- Import and Export Reference
- Frequently Used Events
- API Documentation
- Release Notes
Math and Trigonometric Functions
Spread provides the following math and trigonometric functions, listed alphabetically.
Function | Description |
|---|---|
This function calculates the absolute value of the specified value. | |
This function calculates the arccosine, that is, the angle whose cosine is the specified value. | |
This function calculates the inverse hyperbolic cosine of the specified value. | |
This function calculates the inverse arccotangent of a number. | |
This function calculates the inverse hyperbolic arccotangent of a number. | |
This function aggregate a list of numbers using a specified built-in function. | |
This function converts a Roman numeral text to an Arabic numeral equivalent. | |
This function calculates the arcsine, that is, the angle whose sine is the specified value. | |
This function calculates the inverse hyperbolic sine of a number. | |
This function calculates the arctangent, that is, the angle whose tangent is the specified value. | |
This function calculates the arctangent of the specified x- and y-coordinates. | |
This function calculates the inverse hyperbolic tangent of a number. | |
This function converts a number into a text representation with the given radix (base). | |
This function rounds a number up to the nearest multiple of a specified value. | |
This function rounds a number up to the nearest integer or the nearest multiple of significance. | |
This function rounds a number up to the nearest integer or the nearest multiple of a specified value. | |
This function calculates the number of possible combinations for a specified number of items. | |
This function calculates the number of possible combinations with repetitions for a specified number of items. | |
This function returns the cosine of the specified angle. | |
This function returns the hyperbolic cosine of the specified value. | |
This function returns the cotangent of the specified angle. | |
This function returns the hyperbolic cotangent of the specified number. | |
This function returns the cosecant of the specified angle. | |
This function returns the hyperbolic cosecant of the specified number. | |
This function converts a text representation of a number in a given base into a decimal number. | |
This function converts the specified value from radians to degrees. | |
This function rounds the specified value up to the nearest even integer. | |
This function returns true if two strings are the same; otherwise, false. | |
This function returns e raised to the power of the specified value. | |
This function calculates the factorial of the specified number. | |
This function calculates the double factorial of the specified number. | |
This function rounds a number down to the nearest integer or the nearest multiple of significance. | |
This function rounds a number down to the nearest integer or the nearest multiple of a specified value. | |
This function returns the greatest common divisor of two numbers. | |
This function rounds a specified number down to the nearest integer. | |
This function returns a number up to the nearest integer or the nearest multiple of significance, regardless of the sign of significance. | |
This function returns the least common multiple of two numbers. | |
This function assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function. | |
This function returns the natural logarithm of the specified number. | |
This function returns the logarithm base Y of a number X. | |
This function returns the logarithm base 10 of the number given. | |
This function returns the matrix determinant of an array. | |
This function returns the inverse matrix for the matrix stored in an array. | |
This function returns the matrix product for two arrays. | |
This function returns the remainder of a division operation. | |
This function returns a number rounded to the desired multiple. | |
This function calculates the ratio of the factorial of a sum of values to the product of factorials. | |
This function returns the unit matrix for the specified dimension. | |
This function rounds the specified value up to the nearest odd integer. | |
This function returns PI as 3.1415926536. | |
This function raises the specified number to the specified power. | |
This function multiplies all the arguments and returns the product. | |
This function returns the integer portion of a division. Use this to ignore the remainder of a division. | |
This function converts the specified number from degrees to radians. | |
This function returns an evenly distributed random number between 0 and 1. | |
This function returns an array of random numbers. | |
This function returns a random number between the numbers you specify. | |
This function converts an Arabic numeral to a Roman numeral text equivalent. | |
This function rounds the specified value to the nearest number, using the specified number of decimal places. | |
This function rounds the specified number down to the nearest number, using the specified number of decimal places. | |
This function rounds the specified number up to the nearest number, using the specified number of decimal places. | |
This function returns the secant of the specified angle. | |
This function returns the hyperbolic secant of the specified value. | |
This function returns the sum of a power series. | |
This function returns a sequence of numbers. | |
This function returns the sign of a number or expression. | |
This function returns the sine of the specified angle. | |
This function returns the hyperbolic sine of the specified number. | |
This function returns the positive square root of the specified number. | |
This function returns the positive square root of a multiple of pi (p). | |
This function calculates a subtotal of a list of numbers using a specified built-in function. | |
This function returns the sum of cells or range of cells. | |
This function adds the cells using the given criteria. | |
This function adds the cells in a range using multiple criteria. | |
This function returns the sum of the products of cells. Multiplies corresponding components in the given arrays, and returns the sum of those products. | |
This function returns the sum of the squares of the arguments. | |
This function returns the sum of the difference of the squares of corresponding values in two arrays. | |
This function returns the sum of squares of corresponding values in two arrays. | |
This function returns the sum of the square of the differences of corresponding values in two arrays. | |
This function returns the tangent of the specified angle. | |
This function returns the hyperbolic tangent of the specified number. | |
This function removes the specified fractional part of the specified number. |