> The only thing I found that appears to be missing is the ability toOne shouldn't need to do this but you can do it as follows:
> determine the actual type of the number.
tostring does this already.
> It would be nice if there was a method to do so in Lua itself. One use
> case is for serializing integer values to disk in text form properly.