Namespace BN
BN\Collections |
BN\Compiler |
AggregateFunctions | |
Number | Big Number data type for PHP. Uses BC Math for arbitrary precision mathematics with numbers of any size and precision. Object is immutable and the inner representation of number is a string. |
NumberFactory | Factory for creating @see Number from string, integer, float or object. Useful for creating numbers from different types because Number throws \InvalidArgumentException if argument in constructor is not string. It can also create numbers for mathematical constants pi and e. |
OperatorsFactory |
INumber | Interface for number which is used in expression evaluator. Variables can be used in evaluator only if they implement this interface. In class which implements this interface number have to be represented as string and the representation is accessible via @method __toString(). |