lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


To get lua to use integers only, Just define these in your LUA_USER_H file.

#define LUA_NUMBER		int
#define LUA_NUMBER_SCAN		"%i"
#define LUA_NUMBER_FMT		"%i"

You probably won't want to compile the math lib, most of those functions
aren't really useful without floating point numbers.