[NTG-context] integer displayed as .0 float in Lua-5.3

Pablo Rodriguez oinos at gmx.es
Sat Aug 11 11:29:41 CEST 2018

On 08/09/2018 10:16 PM, Alan Braslau wrote:
> On Thu, 9 Aug 2018 22:00:48 +0200
> Pablo Rodriguez <oinos at gmx.es> wrote:
>> I guess that backwards compatibility should be important here, but I
>> hope there are stronger reasons for breaking it.
> tonumber() provides backwards compatibility. And the recommendation
> to use it was in the third edition (of the lua book), if not before,
> referring to 5.2.

I realize that the fault is mine, but with backwards compatibility I
meant that the same operation (10 + "10") gives different results with
different Lua versions.


More information about the ntg-context mailing list