class and type number.positive
class for testing whether a numerical value is greater than zero
Contract
No input parameters.
Water Contract
<class number.positive
/>

See also: is_type_for, is_a, negative, nonzero, nonnegative

Methods: is_type_for



This class can be used in conjunction with is_type_for to determine whether a given argument is greater than zero.

Examples

number.positive.<is_type_for 453 />
true
number.positive.<is_type_for 0.0 />
false
number.positive.<is_type_for 0 />
false
number.positive.<is_type_for 0.000001 />
true
number.positive.<is_type_for -0.000001 />
false