lua-users home
lua-l archive

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

>I've been using Lua on QNX RtP lately, and this morning I noticed something strange: the number 65 is always displayed as 64.999999...

That's very weird. Is it really "65", I mean, an *integer*?

>Could this be a bug with Lua?

Very unlikely.

>Maybe the function that converts a number to a string?

Lua uses sprintf for this. Perhaps sprintf is broken in QNX.