Converting numbers and strings

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Converting numbers and strings

Hugo <Nabble>
Please try this with lua and luan:
local a = '20141010' + 0
print(a)

Lua prints "20141010"
Luan prints "2.014101E7"
Reply | Threaded
Open this post in threaded view
|

Re: Converting numbers and strings

fschmidt
Administrator
fixed in rev 256
Woe to those who call bad good and good bad -- Isaiah 5:20
Following the Old Testament, not evil modern culture
Reply | Threaded
Open this post in threaded view
|

Re: Converting numbers and strings

Hugo <Nabble>
Thanks, closing thread.