Index

iOperation

MMO\math\interfaces · 1 symbol · generated 30 Sep 2026

interface

iOperation

iOperation.php:9

Describe a computed number that contains operation on other numbers

interface MMO\math\interfaces\iOperation extends MMO\math\interfaces\iNumber
Namespace
MMO\math\interfaces
Implements
iNumber

Index

contains($num) abstractTells if this object use the given iNumber
extract($num) abstract
loopNumber() abstract
simplify() abstract

Methods4

contains($num)

abstractiOperation.php:15

Tells if this object use the given iNumber

abstract function contains(MMO\math\interfaces\iNumber|string $num): bool
$numiNumber | stringa number or a classname to look for
returnsbool
Inherited members (3)
MethodsDeclared byDescription
hasUnits()iWithUnits
numberValue()iNumberConvert to a value
units()iWithUnitsReturn a list of units with their associated factor and power.