Documentation

Gcd
in package

Table of Contents

Methods

evaluate()  : float|int|string
GCD.

Methods

evaluate()

GCD.

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

Returns the greatest common divisor of a series of numbers. The greatest common divisor is the largest integer that divides both number1 and number2 without a remainder.

Excel Function: GCD(number1[,number2[, ...]])

Parameters
$args : mixed

Data values

Return values
float|int|string

Greatest Common Divisor, or a string containing an error


        
On this page

Search results