Previous in Contents Next in Contents

DataFunctions.ConvertFloatString Method

The ConvertFloatString method converts a string expression of a floating-point number to a Double Variant, based on the specified locale. If successful, ConvertFloatString returns the Double Variant; otherwise, Null.

Syntax

DataFunctions.ConvertFloatString(Float, Locale)

Parameters

Float
A string expression of the number to convert.
Locale
Optional. This number specifies the locale to use to convert the string. For a list of valid locale values, see Hexadecimal Locale Identifiers. If this parameter is not specified, the value of the DataFunctions object's Locale parameter is used.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.