I'm not quite sure what your are asking..
But if you replace all "double" with "float" (and the formatting string %g) you
application will use float a numerical base... Lua uses only one base for
number.
Hi I was just wondering whether anyone had
made a version of Lua that handled ints/longs and floats? I realise there
could be a number of type/casting problems and doubles could handle both but
all arithmetic is done in floats and ints in our application.