lua-users home
lua-l archive

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


Hello all,

I have been doing some very simple things (mostly to get the integer
portion of a number) using math.floor, and it seems that sometimes the
function will return -0, when I am expecting a 0. Can someone please
explain why this happens? Is there a logical reason for this?

Thanks,

Mike