mini\Util\Math\DecimalMath::alignScale() Method

private static

Signature

private static function alignScale(string $a, string $b): array

Parameters

Name Type Default Description
$a string required Documentation missing
$b string required Documentation missing

Returns

array

Documentation

Align two decimals to the same scale, returning their scaled integer forms

Returns [aScaledInt, bScaledInt, commonScale]

Source

src/Util/Math/DecimalMath.php:207-223