title: Lua returns wrong values
body: <p>I've got the following scenario:</p>
  
  <ol>
  <li>I registered a c# function in nlua</li>
  <li>This function is called like this in the lua script: <code>SomeFunction({Amount = 1})</code></li>
  <li>The c# function gets called but now the Amount is some arbitrary huge double</li>
  </ol>
  
  <p>The code in which I register the function:</p>
  
  <pre><code>Lua LuaInterface = new Lua();
  someFunction = (LuaTable t) =&gt; DoSomething(t);
  LuaInterface.RegisterFunction("SomeFunction", someFunction.Target, someFunction.Method);
  </code></pre>
  
  <p>If I use the debugger, t is for example <code>{{ Amount = -2,05689484611373E-178 }}</code></p>
  
  <p>I've spent about two hours finding a bug in my code (the real one is far more complex) and this is just what I reduced the problem to.</p>