checks whether the money's number is zero.
Returns: bool
$m1 = money('0');
$m2 = money('1000000');
$m3 = money('-10000000');
$m1->isZero(); // true
$m2->isZero(); // false
$m3->isZero(); // false
📌 Back to the contents.
checks whether the money's number is zero.
Returns: bool
$m1 = money('0');
$m2 = money('1000000');
$m3 = money('-10000000');
$m1->isZero(); // true
$m2->isZero(); // false
$m3->isZero(); // false
📌 Back to the contents.