lua-users home
lua-l archive

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


> As you can see, an entry for 11.21 exists but is not found.I suspect a (deep) rounding issue as the argument come from a calculation ... but is only a guess.

If the number comes from a calculation, then rounding is definitely a suspect,
especially if the result is 11.21.

I suggest you store the keys as strings instead of numbers, using something
like string.format("%.2f",x) to convert numbers to strings.