Left here for archival purposes.

User avatar
By Hans174
#8509 I suggest to deactivate float in future LUA versions.

There are side effects like the issue with "string.format".

Integer calculation in older programs doesn't work any more.
- float enabled 600 / 70 = 8.571428571
- float disabled 600 / 70 = 8

There could be more undiscovered issues.

What do you think?
User avatar
By sej7278
#8520 have you tried building nodemcu from source after the 27th, as there's now a LUA_NUMBER_INTEGRAL macro to disable floats at compile time, and also a string.format() fix:

https://github.com/nodemcu/nodemcu-firm ... its/master

i'd rather they fixed the issues and left floats enabled, although they're not much use without the Math library.