mini\Util\Math\Decimal::rescale()
Method
public
Signature
public function rescale(int $newScale, int $mode = 1): self
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$newScale |
int |
required | Documentation missing |
$mode |
int |
1
|
Documentation missing |
Returns
self
Documentation
Change scale with rounding