Utilities.FormatCurr Method

Applies to TestComplete 14.70, last modified on April 22, 2021
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

CurrencyToFormatStr Method
CurrencyToStr Method
Format Method
FloatToStr Method

Highlight search results