NaturalNumber represents a natural number.
Natural numbers are positive integers excluding 0 in this case. If you want
to allow 0 use NaturalNumberIncludingZero instead.
public function NaturalNumber(number:Number)
Constructs a new NaturalNumber 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,
zero or (-)infinity
|