Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1538569.gxPoS1l1Lc@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Tue, 20 Nov 2012 01:04:40 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <20121117112826.00530fe7@bootnic.server> <1788183.LAg6v8g3if@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 25 NNTP-Posting-Date: 20 Nov 2012 01:04:41 CET NNTP-Posting-Host: 6df095c6.newsspool4.arcor-online.net X-Trace: DXC=Q=d84JFRg;B@k=MdN::NBI4IUKK@iU3I74H>BY@4@@;FjVm77L X-Complaints-To: usenet-abuse@arcor.de Xref: csiph.com comp.lang.javascript:17313 Dr J R Stockton wrote: > Thomas 'PointedEars' Lahn posted: >> Number(myString) will return NaN if there are any non-digits and non-dots >> in myString, ignoring leading whitespace. > > Trebly untrue, even disregarding the omissions of "decimal" and of > trailing whitespace. Pray tell. Does Number(",") return NaN? Does Number(" ,") return NaN? Does Number(" 42") return 42? You have conveniently snipped the part of my posting that qualified this statement (without marking the omission). You really are to be pitied if you think have to resort to such lame tricks to get attention. > And, of course, those of the digits i v I V etc. which are in UniCode > 0000-FFFF, and IIRC various even stranger digits, including \u261D. Don't be silly. PointedEars -- When all you know is jQuery, every problem looks $(olvable).