Skip to content

Latest commit

History

History
24 lines (16 loc) 路 328 Bytes

isZero.md

File metadata and controls

24 lines (16 loc) 路 328 Bytes

isZero()

checks whether the money's number is zero.

Methods

isZero()

Returns: bool

Usage

$m1 = money('0');
$m2 = money('1000000');
$m3 = money('-10000000');

$m1->isZero(); // true
$m2->isZero(); // false
$m3->isZero(); // false

馃搶 Back to the contents.