"For developers", "Server scripts", "Functions description", "Converting types", "IntToStr".
Converting an integer to a string.
function IntToStr(iValue: integer): string;
Parameter |
Type |
Value |
---|---|---|
iValue |
integer |
integer that you need to convert to a string. |
Text string that corresponds to the transmitted integer.
var
iValue1, iValue2: integer;
sResult: string;
begin
iValue1 := 90534;
iValue2 := -10394;
sResult := inttostr(iValue1) + inttostr(iValue2) + '=' + inttostr(iValue1 + iValue2);
mLogScript('Expression: ' + sResult, '');
end.
[18:16:53] (Log "test"): Expression: 90534-10394=80140