Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 400 and 403]

(no description)

File Size: 162 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Operations:: (4 methods):
  mod()
  power()
  product()
  quotient()


Class: Operations  - X-Ref

mod($dividend, $divisor)   X-Ref
MOD.

param: mixed $dividend Dividend
param: mixed $divisor Divisor
return: array|float|int|string Remainder, or a string containing an error

power($x, $y)   X-Ref
POWER.

Computes x raised to the power y.

param: array|float|int $x
param: array|float|int $y
return: array|float|int|string The result, or a string containing an error

product(...$args)   X-Ref
PRODUCT.

PRODUCT returns the product of all the values and cells referenced in the argument list.

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

param: mixed ...$args Data values
return: float|string

quotient($numerator, $denominator)   X-Ref
No description