title: I am trying to convert a string in decimal format to a number in lua
body: <p>I have 2 integer variables that I want to covert to a decimal integer. The result should be like this:</p>
  
  <pre class="lang-lua prettyprint-override"><code>a = 10 
  b = 12
  c = 10.12
  </code></pre>
  
  <p>I can convert them with concatenate to a string decimal but then I cannot use math functions on the result. I have tried to use <code>tonumber()</code> on the string but I got a <code>nil</code> value.</p>