mini\Util\Math\Expr::eval() Method

public

Signature

public function eval(int $maxScale = 20): mini\Util\Math\Decimal

Parameters

Name Type Default Description
$maxScale int 20 Documentation missing

Returns

mini\Util\Math\Decimal

Documentation

Evaluate the expression to a Decimal

Uses recursive evaluation to preserve tree structure for pattern matching.

Source

src/Util/Math/Expr.php:221-224