Utilities.FloatToStr Method

Applies to TestComplete 15.47, last modified on January 20, 2023
This method is obsolete. See the Remarks section below.

Description

The Utilities.FloatToStr method converts a floating-point value to a string. The resultant string holds up to 15 digits. Trailing zeros are removed and the decimal point appears only if it is necessary. For more control over the conversion process, use the FloatToStrF method.

Declaration

Utilities.FloatToStr(Value)

Value [in]    Required    Double    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Value

Specifies the floating-point value to be converted to a string.

Result Value

The string storing the converted floating-point value.

Remarks

This method is obsolete. It is supported for backward compatibility only. To convert a floating-point value to a string, use the aqConvert.FloatToStr method.

See Also

Working With Numeric Values
Format Method
FloatToStr Method
CurrencyToStr Method

Highlight search results