Re: What would you remove from Lua - a case of regression?
[
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: 2018年11月26日 22:04:58 +0000
On 2018年11月26日 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)