lua-users home
lua-l archive

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


Am 04.06.2014 18:48 schröbte Andrew Starks:
print(math.min(1,2), math.max(1,2))
--1.0, 2.0

I would have expected integers.

It's the same with strings:

    print(type(math.max("1", "2")))


-Andrew


Philipp