DataFunctions.ValidateFloat Method

The ValidateFloat method checks whether a string contains a valid floating-point number, and optionally checks the value of the number against a specified numerical range. If the value is a valid number and falls within the given range, ValidateFloat returns True; otherwise, False.

Syntax

DataFunctions.ValidateFloat(Value, MinimumValue, MaximumValue)

Parameters

Value
The floating-point number to validate.
MinimumValue
Optional. This value designates the low end of the range. The default value for this parameter is Null, which means that MinimumValue is ignored in the range validation.
MaximumValue
Optional. This value designates the high end of the range. The default value for this parameter is Null, which means that MaximumValue is ignored in the range validation.

© 1997-1998 Microsoft Corporation. All rights reserved.