Optional flag to return a pointer as a Lua number.