Utilities.FormatCurr Method

Applies to TestComplete 14.0, last modified on January 23, 2019
This method is obsolete. See the Remarks section below.

Description

Use the Utilities.FormatCurr method to convert the Variant value storing the currency Value to a string using the format specified by the Format parameter.

Declaration

Utilities.FormatCurr(FormatValue)

Format [in]    Required    String    
Value [in]    Required    Variant    
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Format

Specifies the format used to convert the given currency value to a string. The format specifiers are the same as the ones that are used by the FormatFloat method.

Value

Specifies the currency value to be converted to a string.

Result Value

The given currency value converted to a string.

Remarks

This method is obsolete. It is supported for backward compatibility only. To convert a currency value to a string in a special format, use the aqConvert.CurrencyToFormatStr method.

See Also

aqConvert.CurrencyToFormatStr Method
aqConvert.CurrencyToStr Method
aqString.Format Method
aqConvert.FloatToStr Method

Highlight search results