Utilities.CurrToStr Method

Applies to TestComplete 14.70, last modified on April 22, 2021
This method is obsolete. See the Remarks section below.

Description

The Utilities.CurrToStr method converts the currency value specified by the Value parameter to its string representation. The conversion uses the ffGeneral floating point conversion rules (see Utilities.FloatToStrF for more information). CurrToStr uses the values of CurrencyDecimals, CurrencyFormat, NegCurrFormat and CurrencyString properties for formatting.

Declaration

Utilities.CurrToStr(Value)

Value [in]    Required    Variant    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Value

Specifies the value that should be converted to its string representation.

Result Value

The string representation of the specified value.

Remarks

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

See Also

CurrencyToStr Method
CurrencyToFormatStr Method
FloatToStr Method
Format Method

Highlight search results