27 public static function ARABIC($roman)
58 public static function ATAN2($xCoordinate = null, $yCoordinate = null)
82 public static function BASE($number, $radix, $minLength = null)
108 public static function CEILING($number, $significance = null)
132 public static function COMBIN($numObjs, $numInSet)
158 public static function EVEN($number)
171 public static function getEven(
float $number): int
194 public static function FACT($factVal)
239 public static function FLOOR($number, $significance = null)
263 public static function FLOORMATH($number, $significance = null, $mode = 0)
308 public static function INT($number)
332 public static function GCD(...$args)
357 public static function LCM(...$args)
442 public static function MMULT($matrixData1, $matrixData2)
460 public static function MOD($a = 1, $b = 1)
480 public static function MROUND($number, $multiple)
518 public static function ODD($number)
584 public static function QUOTIENT($numerator, $denominator)
602 public static function RAND($min = 0, $max = 0)
642 public static function ROUNDUP($number, $digits)
704 public static function SIGN($number)
762 public static function SUBTOTAL($functionType, ...$args)
764 return MathTrig\Subtotal::evaluate($functionType, ...$args);
784 public static function SUM(...$args)
808 public static function SUMIF($range, $criteria, $sumRange = [])
872 public static function SUMSQ(...$args)
890 public static function SUMX2MY2($matrixData1, $matrixData2)
908 public static function SUMX2PY2($matrixData1, $matrixData2)
926 public static function SUMXMY2($matrixData1, $matrixData2)
946 public static function TRUNC($value = 0, $digits = 0)
1079 public static function ACOT($number)
1514 if ($number === null) {
1516 } elseif (is_bool($number)) {
1517 $number = (int) $number;
static ceiling($number, $significance=null)
CEILING.
static SUMX2MY2($matrixData1, $matrixData2)
SUMX2MY2.
static atan2($xCoordinate, $yCoordinate)
ATAN2.
static SIGN($number)
SIGN.
static SUMIF($range, $criteria, $sumRange=[])
SUMIF.
static MDETERM($matrixValues)
MDETERM.
static ATAN2($xCoordinate=null, $yCoordinate=null)
ATAN2.
static SUMXMY2($matrixData1, $matrixData2)
SUMXMY2.
static quotient($numerator, $denominator)
QUOTIENT.
static up($number, $digits)
ROUNDUP.
static getEven(float $number)
static ACOT($number)
ACOT.
static power($x, $y)
POWER.
static FACT($factVal)
FACT.
static pi($number)
SQRTPI.
static numberOrNan($result)
Return NAN or value depending on argument.
static SUBTOTAL($functionType,... $args)
SUBTOTAL.
static sqrt($number)
SQRT.
static acot($number)
ACOT.
static atanh($number)
ATANH.
static builtinTAN($number)
TAN.
static atan($number)
ATAN.
static ROMAN($aValue, $style=0)
ROMAN.
static logBase($number, $base=10)
LOG_BASE.
static multiply($matrixData1, $matrixData2)
MMULT.
static CEILING($number, $significance=null)
CEILING.
static SUMX2PY2($matrixData1, $matrixData2)
SUMX2PY2.
static EVEN($number)
EVEN.
static returnSign(float $number)
returnSign = returns 0/-1/+1.
static LCM(... $args)
LCM.
static builtinACOS($number)
ACOS.
static builtinASIN($number)
ASIN.
static product(... $args)
PRODUCT.
static evaluate($roman)
ARABIC.
static sumXSquaredPlusYSquared($matrixData1, $matrixData2)
SUMX2PY2.
static numberOrNan($result)
Return NAN or value depending on argument.
static toRadians($number)
RADIANS.
static BASE($number, $radix, $minLength=null)
BASE.
static MULTINOMIAL(... $args)
MULTINOMIAL.
static RAND($min=0, $max=0)
RAND/RANDBETWEEN.
static builtinEXP($number)
EXP.
static evaluate($number)
ABS.
static withBase($number, $base=10)
LOG_BASE.
static builtinABS($number)
ABS.
static builtinTANH($number)
TANH.
static POWER($x=0, $y=2)
POWER.
static builtinLOG10($number)
LOG10.
static acosh($number)
ACOSH.
static builtinSQRT($number)
SQRT.
static cosh($number)
COSH.
static ROUNDDOWN($number, $digits)
ROUNDDOWN.
static builtinASINH($number)
ASINH.
static TRUNC($value=0, $digits=0)
TRUNC.
static builtinDEGREES($number)
DEGREES.
static builtinSINH($number)
SINH.
static acoth($number)
ACOTH.
static natural($number)
LN.
static builtinACOSH($number)
ACOSH.
static base10($number)
LOG10.
static SUMIFS(... $args)
SUMIFS.
static acos($number)
ACOS.
static multiple($number, $multiple)
MROUND.
static mod($dividend, $divisor)
MOD.
static evaluate($aValue, $style=0)
ROMAN.
static SQRTPI($number)
SQRTPI.
static SERIESSUM($x, $n, $m,... $args)
SERIESSUM.
static evaluate(... $args)
LCM.
static sumXSquaredMinusYSquared($matrixData1, $matrixData2)
SUMX2MY2.
static builtinROUND($number, $precision)
ROUND.
static builtinATANH($number)
ATANH.
static MMULT($matrixData1, $matrixData2)
MMULT.
static evaluate($value=0, $digits=0)
TRUNC.
static even($number)
EVEN.
static builtinCOS($number)
COS.
static builtinSIN($number)
SIN.
static FLOORMATH($number, $significance=null, $mode=0)
FLOOR.MATH.
static MROUND($number, $multiple)
MROUND.
static ACOTH($number)
ACOTH.
static floor($number, $significance=null)
FLOOR.
static nullFalseTrueToNumber(&$number)
Many functions accept null/false/true argument treated as 0/0/1.
static ARABIC($roman)
ARABIC.
static factDouble($factVal)
FACTDOUBLE.
static MINVERSE($matrixValues)
MINVERSE.
static FACTDOUBLE($factVal)
FACTDOUBLE.
static PRODUCT(... $args)
PRODUCT.
static math($number, $significance=null, $mode=0)
FLOOR.MATH.
static COMBIN($numObjs, $numInSet)
COMBIN.
static fact($factVal)
FACT.
static evaluate($number, $radix, $minLength=null)
BASE.
static evaluate($number)
SIGN.
static down($number, $digits)
ROUNDDOWN.
static toDegrees($number)
DEGREES.
static randBetween($min, $max)
RANDBETWEEN.
static MOD($a=1, $b=1)
MOD.
static builtinATAN($number)
ATAN.
static ROUNDUP($number, $digits)
ROUNDUP.
static returnSign(float $number)
static inverse($matrixValues)
MINVERSE.
static evaluate(... $args)
GCD.
static builtinRADIANS($number)
RADIANS.
static getEven(float $number)
Helper function for Even.
static QUOTIENT($numerator, $denominator)
QUOTIENT.
static asin($number)
ASIN.
static GCD(... $args)
GCD.
static SUMIF($range, $condition, $sumRange=[])
SUMIF.
static product(... $args)
SUMPRODUCT.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.
static sumIgnoringStrings(... $args)
SUM, ignoring non-numeric non-error strings.
static evaluate($number)
EXP.
static precise($number, $significance=1)
FLOOR.PRECISE.
static asinh($number)
ASINH.
static SUMPRODUCT(... $args)
SUMPRODUCT.
static FLOORPRECISE($number, $significance=1)
FLOOR.PRECISE.
static SUMIFS(... $args)
SUMIFS.
static SUMSQ(... $args)
SUMSQ.
static sumSquare(... $args)
SUMSQ.
static builtinCOSH($number)
COSH.
static determinant($matrixValues)
MDETERM.
static SUM(... $args)
SUM.
static multinomial(... $args)
MULTINOMIAL.
static withoutRepetition($numObjs, $numInSet)
COMBIN.
static evaluate($number)
INT.
static round($number, $precision)
ROUND.
static evaluate($x, $n, $m,... $args)
SERIESSUM.
static sumXMinusYSquared($matrixData1, $matrixData2)
SUMXMY2.
static FLOOR($number, $significance=null)
FLOOR.
static builtinLN($number)
LN.