title: How do I parse an int from a string?
body: <p>I'm trying to do this:</p>
  <pre><code>let medio a b =
      (a + b);;
  let () = Printf.printf &quot;%d + %d  = %d\n&quot; Sys.argv.(1) Sys.argv.(2) (medio Sys.argv.(1) Sys.argv.(2))    
  </code></pre>
  <p><strong>Sys.argv.(1)</strong> has to be the arg[1] ~ in <strong>C</strong></p>
  <p>Now I want to use them like parameters for my function <code>medio</code>, but they're strings. How can I parse them into int?</p>