Difference between revisions of "Itostring"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == The itostring(n) function will convert the variable or value ''n'' into a string. * '''Pass:''' An Int * '''Returns:''' A String == Example == #includ…')
 
m (3 revisions imported)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
  #include <string>
 
  #include <string>
  var a:=234;
+
   
var c:=itostring(a);
+
function void main() {
 +
    var a:=234;
 +
    var c:=itostring(a);
 +
};
 +
 
 +
''Since: Version 1.0''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:String Functions]]
 
[[Category:String Functions]]

Latest revision as of 15:44, 15 April 2019

Overview

The itostring(n) function will convert the variable or value n into a string.

Example

#include <string>

function void main() {
   var a:=234;
   var c:=itostring(a);
};

Since: Version 1.0