[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What am I doing wrong with tonumber?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 15 May 2012 12:58:51 -0300
> s='nan' print(tonumber(s), s)
Some libc support 'nan', some don't.
You can use it if you want but don't count on it in general.