pub fn range_number(format: &[u8], value: Input<'_>) -> Option<Number>Expand description
The number Range::isValid() compares with its bounds, for a value that passed
is_numeric(): as 'integer', an int (from + 0, so a numeric string that makes one) or
a float that already is INF/-INF (PHP checks $value === INF before + 0, so a
string such as '1e400' that overflows to INF is not one); as 'double', any number as
a float; None when the value is not one, and for any other format.