NaturalNumberIncludingZero represents a natural number including zero.
Natural numbers are positive integers including 0. If you do not want to allow
0 use NaturalNumber instead.
public function NaturalNumberIncludingZero(number:Number)
Constructs a new NaturalNumberIncludingZero instance.
Decimal places are cropped from the passed-in number if it has at least
one. The passed-in number must also not be negative.
number | the natural number |
| NumberFormatException | if the passed-in number is negative number
or (-)infinity
|