lua-users home
lua-l archive

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





On Wed, Jun 4, 2014 at 3:52 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
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."


If "should" == "The Fine Manual says so" then I guess it's a dumb question.

-Andrew