check_order_of_magnitude: Check a Number's Order of Magnitude Against a Requirement
Description
Check a Number's Order of Magnitude Against a Requirement
Usage
check_order_of_magnitude(x, min_ok, max_ok)
Value
TRUE if a number x's integer power of 10 is inside the range given by
min_ok
and max_ok
(min_ok
and max_ok
included)
Arguments
- x
number to check
- min_ok
an integer power of 10, allowed minimum
- max_ok
an integer power of 10, allowed maximum