Operations
Table of Contents
| mod() | MOD. | float|int|string |
|---|---|---|
| power() | POWER. | float|int|string |
| product() | PRODUCT. | float|string |
| quotient() | QUOTIENT. | int|string |
Methods
mod()
MOD.
public
static mod(
$dividend :
mixed
, $divisor :
mixed
)
: float|int|string
Parameters
- $dividend : mixed
Dividend
- $divisor : mixed
Divisor
Return values
float|int|string —Remainder, or a string containing an error
power()
POWER.
public
static power(
$x :
float|int
, $y :
float|int
)
: float|int|string
Computes x raised to the power y.
Parameters
- $x : float|int
- $y : float|int
Return values
float|int|string —The result, or a string containing an error
product()
PRODUCT.
public
static product(
...$args :
mixed
)
: float|string
PRODUCT returns the product of all the values and cells referenced in the argument list.
Excel Function: PRODUCT(value1[,value2[, ...]])
Parameters
- $args : mixed
Data values
Return values
float|stringquotient()
QUOTIENT.
public
static quotient(
$numerator :
mixed
, $denominator :
mixed
)
: int|string
QUOTIENT function returns the integer portion of a division. Numerator is the divided number and denominator is the divisor.
Excel Function: QUOTIENT(value1,value2)
Parameters
- $numerator : mixed
Expect float|int
- $denominator : mixed
Expect float|int