lua-users home
lua-l archive

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


2014-06-04 18:48 GMT+02:00 Andrew Starks <andrew.starks@trms.com>:
> print(math.min(1,2), math.max(1,2))
> --1.0, 2.0
> I would have expected integers.

RTFM.

"Unless stated otherwise, all functions in this library operate with
and return floats."