[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What would you remove from Lua - a case of regression?
- From: Dibyendu Majumdar <mobile@...>
- Date: Mon, 26 Nov 2018 22:04:58 +0000
On Mon, 26 Nov 2018 at 22:01, Gavin Wraith <gavin@wra1th.plus.com> wrote:
> I would like to see a reversal of the 'numbers are just numbers' policy;
> that is, I would like more of a type barrier between integers and floats
> for example. I would like to see
> > type (57) --> integer
> > type (57.0) --> float
This is already true. Try this:
math.type(57)
math.type(57.0)