Documentation

Size
in package

Table of Contents

Methods

large()  : float|string
LARGE.
small()  : float|string
SMALL.
filter()  : array<string|int, mixed>

Methods

large()

LARGE.

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

Returns the nth largest value in a data set. You can use this function to select a value based on its relative standing.

Excel Function: LARGE(value1[,value2[, ...]],entry)

Parameters
$args : mixed

Data values

Return values
float|string

The result, or a string containing an error

small()

SMALL.

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

Returns the nth smallest value in a data set. You can use this function to select a value based on its relative standing.

Excel Function: SMALL(value1[,value2[, ...]],entry)

Parameters
$args : mixed

Data values

Return values
float|string

The result, or a string containing an error

filter()

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

Data values

Return values
array<string|int, mixed>

        
On this page

Search results