lua-users home
lua-l archive

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


This thread seems to contain plenty of well-reasoned arguments 
along these lines:
> We're looking at this from different points of view. From my
> point of view ...
> ...
> If you take an alternate view ...

It's clearly a lot of fun, although I haven't read all the posts.
I did read those from Roberto, so the issue itself is quite clear. 

Problem:
    Some numbers don't format correctly with '%i'.
Reason:
    Integers in Lua aren't really integers. They're doubles.  
Solution:
    Never use '%i'.  Always use '%.f'.  

Dirk