Use parseFloat() instead of Number() in numeric range control