SilverStripe\Omnipay\Helper\PaymentMath::multiply
Multiply two numbers that are represented as a string Numbers will not be rounded but floored instead! So 0.001 * 10 with a precision of 1 will result in 0!
Signature
public function multiply(string
$amountA,
string
$amountB )
Parameters
$amountA
— string- first operand
$amountB
— string- second operand
Returns
- string
- the result as a string