Documentation

NumberFunction

Table of Contents

Methods

abs()  : Abs
Apply the ABS function to the number
add()  : AddOperator
Apply the ADD operator to the number
average()  : AverageFunction
Apply the AVERAGE function to the number
count()  : CountFunction
Apply the COUNT function to the number
div()  : DivOperator
Apply the DIV operator to the number
floor()  : Floor
Apply the FLOOR function to the number
format()  : Format
Format the number
gt()  : GreaterThanOperator
Apply the GREATER THAN operator to the number
gteq()  : GreaterOrEqualOperator
Apply the GREATER OR EQUAL operator to the number
log()  : Log
Apply the LOG function to the number
log10()  : Log
Apply the LOG function to the number with base 10
lt()  : LesserThanOperator
Apply the LESS THAN operator to the number
lteq()  : LesserOrEqualOperator
Apply the LESS OR EQUAL operator to the number
maximum()  : MaximumFunction
Apply the MAXIMUM function to the number
minimum()  : MinimumFunction
Apply the MINIMUM function to the number
mul()  : MulOperator
Apply the MUL operator to the number
pow()  : Pow
Apply the POW function to the number
sub()  : SubOperator
Apply the SUB operator to the number
sum()  : SumFunction
Apply the SUM function to the number

Methods

abs()

Apply the ABS function to the number

public abs() : Abs
Return values
Abs

the ABS function

add()

Apply the ADD operator to the number

public add(mixed $other) : AddOperator
Parameters
$other : mixed

mixed the other number

Return values
AddOperator

the ADD operator

average()

Apply the AVERAGE function to the number

public average([mixed $groups = NULL ][, mixed $orders = NULL ]) : AverageFunction
Parameters
$groups : mixed = NULL

mixed the groups

$orders : mixed = NULL

mixed the orders

Return values
AverageFunction

the AVERAGE function

count()

Apply the COUNT function to the number

public count([mixed $groups = NULL ][, mixed $orders = NULL ]) : CountFunction
Parameters
$groups : mixed = NULL

mixed the groups

$orders : mixed = NULL

mixed the orders

Return values
CountFunction

the COUNT function

div()

Apply the DIV operator to the number

public div(mixed $other) : DivOperator
Parameters
$other : mixed

mixed the other number

Return values
DivOperator

the DIV operator

format()

Format the number

public format(mixed $format[, mixed $locale = NULL ]) : Format
Parameters
$format : mixed

string the format to apply

$locale : mixed = NULL

string the locale to use

Return values
Format

the formatted number

log()

Apply the LOG function to the number

public log([mixed $base = NULL ]) : Log
Parameters
$base : mixed = NULL

mixed the base of the logarithm

Return values
Log

the LOG function

log10()

Apply the LOG function to the number with base 10

public log10() : Log
Return values
Log

the LOG function

maximum()

Apply the MAXIMUM function to the number

public maximum([mixed $groups = NULL ][, mixed $orders = NULL ]) : MaximumFunction
Parameters
$groups : mixed = NULL

mixed the groups

$orders : mixed = NULL

mixed the orders

Return values
MaximumFunction

the MAXIMUM function

minimum()

Apply the MINIMUM function to the number

public minimum([mixed $groups = NULL ][, mixed $orders = NULL ]) : MinimumFunction
Parameters
$groups : mixed = NULL

mixed the groups

$orders : mixed = NULL

mixed the orders

Return values
MinimumFunction

the MINIMUM function

mul()

Apply the MUL operator to the number

public mul(mixed $other) : MulOperator
Parameters
$other : mixed

mixed the other number

Return values
MulOperator

the MUL operator

pow()

Apply the POW function to the number

public pow(mixed $exponent) : Pow
Parameters
$exponent : mixed

mixed the exponent

Return values
Pow

the POW function

sub()

Apply the SUB operator to the number

public sub(mixed $other) : SubOperator
Parameters
$other : mixed

mixed the other number

Return values
SubOperator

the SUB operator

sum()

Apply the SUM function to the number

public sum([mixed $groups = NULL ][, mixed $orders = NULL ]) : SumFunction
Parameters
$groups : mixed = NULL

mixed the groups

$orders : mixed = NULL

mixed the orders

Return values
SumFunction

the SUM function


        
On this page

Search results