Open MwangiJim opened 9 months ago
public function _transform($amount = '0') {
} User
Fatal error: Uncaught ValueError: bcmul(): Argument #1 ($num1) is not well-formed
what could be issue here??
Could you provide some code? What number are you passing? It should be an integer in piconeros converted to a string (no decimals).
public function _transform($amount = '0') {
140 return intval(bcmul(number_format($amount,0,'',''), '1000000000000'));
} User
Fatal error: Uncaught ValueError: bcmul(): Argument #1 ($num1) is not well-formed
what could be issue here??