Utilities.CurrToStrF Method

Applies to TestComplete 15.0, last modified on November 17, 2021
This method is obsolete. See the Remarks section below.

Description

The Utilities.CurrToStrF method converts the currency value given by the Value parameter to its string representation, using the specified format and precision.

Declaration

Utilities.CurrToStrF(Value, Format, Digits)

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

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Value

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

Format

Specifies the floating point conversion rules. The function uses the same format specified as FloatToStrF.

Digits

Specifies the value precision used to convert this value 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 in a special format, use the aqConvert.CurrencyToFormatStr method.

See Also

CurrencyToFormatStr Method
CurrencyToStr Method
FloatToStr Method
Format Method

Highlight search results