Page.RequestFloat Method

The RequestFloat method retrieves a value from a URL query string or form post variable and converts it to a floating-point value based on the specified or default locale. Optionally, RequestFloat also checks the converted number against the specified range.

Syntax

Page.RequestFloat( Name, Default, LowFloat, HighFloat, Locale)

Parameters

Name
The name of the URL query string or form post variable to retrieve.
Default
Optional. The value to return if the requested URL query string or form post variable is not present or contains no value. If this parameter is not supplied, the method returns Null in this case.
LowFloat
Optional. A number that specifies the low end of the range of values against which to validate the converted value. The default value for this parameter is zero (0), which means that this parameter is ignored.
HighFloat
Optional. A number that specifies the high end of the range of values against which to validate the converted value. The default value for this parameter is zero (0), which means that this parameter is ignored.
Locale
Optional. A number that identifies the locale to use to convert the value. If this value is not specified, RequestFloat uses the value of the DataFunctions object’s Locale property.

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.