Re: What am I doing wrong with tonumber?
[
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: 2012年5月15日 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.