|
|
||
|
Hi list,
I noticed some inconsistent behavior in tonumber(), both in Lua 5.1
and the current 5.2 beta:
tonumber({}) returns nil
tonumber({}, 16) throws an error
Is there a specific reason why the behavior is different when a
non-default base is given?
--
Dirk