Documentation

Minimum extends MaxMinBase
in package

Table of Contents

Methods

min()  : float|int|string
MIN.
minA()  : float|int|string
MINA.
datatypeAdjustmentAllowStrings()  : int|float
datatypeAdjustmentLiteralArguments()  : array<string|int, mixed>
As in Excel (and SUM), a logical value or a text representation of a number typed directly into the argument list counts, and any other text typed there is #VALUE!.

Methods

min()

MIN.

public static min(mixed ...$args) : float|int|string

MIN returns the value of the element of the values passed that has the smallest value, with negative numbers considered smaller than positive numbers.

Excel Function: MIN(value1[,value2[, ...]])

Parameters
$args : mixed

Data values

Return values
float|int|string

minA()

MINA.

public static minA(mixed ...$args) : float|int|string

Returns the smallest value in a list of arguments, including numbers, text, and logical values

Excel Function: MINA(value1[,value2[, ...]])

Parameters
$args : mixed

Data values

Return values
float|int|string

datatypeAdjustmentAllowStrings()

protected static datatypeAdjustmentAllowStrings(int|float|string|bool $value) : int|float
Parameters
$value : int|float|string|bool
Return values
int|float

datatypeAdjustmentLiteralArguments()

As in Excel (and SUM), a logical value or a text representation of a number typed directly into the argument list counts, and any other text typed there is #VALUE!.

protected static datatypeAdjustmentLiteralArguments(array<string|int, mixed> $args) : array<string|int, mixed>

References and arrays are left unchanged, so that their non-numeric values are ignored.

Parameters
$args : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results