checks whether the money's number is negative (less than zero).
Returns: bool
$m1 = money('-1000000');
$m2 = money('1000000');
$m1->isNegative(); // true
$m2->isNegative(); // false
📌 Back to the contents.
checks whether the money's number is negative (less than zero).
Returns: bool
$m1 = money('-1000000');
$m2 = money('1000000');
$m1->isNegative(); // true
$m2->isNegative(); // false
📌 Back to the contents.