mini\Util\Math\Decimal::add()
Method
public
Signature
public function add(mini\Util\Math\BigInt|self|string|int|float $other): self
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$other |
mini\Util\Math\BigInt|self|string|int|float |
required | Documentation missing |
Returns
self
Documentation
Add: result scale = max(this.scale, other.scale)