As a sugestion, a next version of tolua could use lua_Number instead of double.
the generated binding code already works with lua_Number. I have to fix the library. thanks. -- waldemar