mini\Util\Math\Decimal::subtract() Method

public

Signature

public function subtract(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

Subtract: result scale = max(this.scale, other.scale)

Source

src/Util/Math/Decimal.php:154-159