lua/lua_state.cpp
/**
	 * Calls lua_tonumber on top of the stack and pops the stacks.
	 */
Calls lua_tonumber on top of the stack and pops the stacks.
Calls lua_tonumber on top of the stack and pops the stacks .
float LuaState::toNumber()
	{
		float val = static_cast<float>(lua_tonumber(mLua, -1));
		lua_pop(mLua, 1);
		return val;
	}
float LuaState :: toNumber ( ) { float val = static_cast < float > ( lua_tonumber ( mLua , -1 ) ) ; lua_pop ( mLua , 1 ) ; return val ; }
Calls lua_tonumber on top of the stack and pops the stacks.
Calls lua_tonumber on top of the stack and pops the stacks .