Difference between revisions of "Toint"

From Mesham
Jump to navigationJump to search
m
m (4 revisions imported)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
  #include <string>
 
  #include <string>
  var a:="234";
+
   
var c:=toint(a);
+
function void main() {
 +
    var a:="234";
 +
    var c:=toint(a);
 +
};
  
 
''Since: Version 0.41b''
 
''Since: Version 0.41b''

Latest revision as of 15:44, 15 April 2019

Overview

This toint(s) function will convert the string s into an integer.

Example

#include <string>

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

Since: Version 0.41b