It is used to check that the value of an input field is within a specific range or not. The value must be a float or double type.