Left here for archival purposes.

User avatar
By MHz
#32398 I'm using: NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4

While dealing with floatingpoint numbers I get just integers as result as in
> print(10/3)
3

or error messages like
> print(10.456)
stdin:1: malformed number near '10.456'

> print(tonumber("123.456e5"))
nil
Whats wrong, what do I miss?
Thank you!