|This method is obsolete. See the Remarks section below.|
Utilities.StrToCurr method converts the string Str that represents a floating-point value to the corresponding Currency value. A valid string must consist of an optional sign (+ or -), a string of digits with an optional decimal point, and an optional “E” or “e” followed by a signed integer. Leading and trailing blanks are ignored. Thousand separators and currency symbols are not allowed in the string. If the source string is invalid,
StrToCurr raises an exception.
The method is applied to the following object:
The method has the following parameter:
Specifies the string to be converted to a Currency value.
The Variant value storing the given value converted to a Currency value.
This method is obsolete. It is supported for backward compatibility only. To convert a string to a currency value, use the