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