Utilities.CurrToStr Method

Applies to TestComplete 12.60, last modified on September 17, 2018
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

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

Highlight search results