Description
Use the IntToStr
method to convert the given number specified by the I parameter to a string that contains the number’s decimal (base 10) representation. The resulting value is formatted according to the current local settings. To apply custom formatting, use the aqString.Format
method.
Declaration
Applies To
The method is applied to the following object:
Parameters
The method has the following parameter:
I
Specifies the integer value to be converted to a string.
Result Value
The string that contains the decimal (base 10) representation of the specified integer value.
Example
The code below demonstrates how to use the IntToStr
method:
JavaScript, JScript
Log.Message(aqConvert.IntToStr(154));
Python
Log.Message(aqConvert.IntToStr(154))
VBScript
Call Log.Message(aqConvert.IntToStr(154))
DelphiScript
Log.Message(aqConvert.IntToStr(154));
C++Script, C#Script
Log["Message"](aqConvert["IntToStr"](154));
See Also
Working With Numeric Values
aqConvert.StrToInt Method
aqConvert.FloatToStr Method
aqConvert.CurrencyToStr Method
aqString.Format Method