W3C home > Mailing lists > Public > www-international@w3.org > July to September 2002

Re: Internationalisation support in Javascript

From: John Cowan <jcowan@reutershealth.com>
Date: Wed, 25 Sep 2002 07:06:06 -0400 (EDT)
Message-Id: <200209251117.HAA22555@mail2.reutershealth.com>
To: duerst@w3.org (Martin Duerst)
Cc: shwetas@snb.psi.soft.net (Shweta Shandilya), www-international@w3.org

Martin Duerst scripsit:

> Also, please note that isNaN()
> sounds like a function suitable for application to
> (IEEE) floating point numbers, but not to characters.

IIRC in JavaScript the numeric value of a string that is not a well-formed
numeral is indeed NaN, so isNaN("abc") should be true.

-- 
John Cowan  jcowan@reutershealth.com  www.reutershealth.com  www.ccil.org/~cowan
"The exception proves the rule."  Dimbulbs think: "Your counterexample proves
my theory."  Classicists think "'Probat' means 'tests': the exception puts the
rule to the proof."  But legal historians know it means "Evidence for an
exception is evidence of the existence of a rule in cases not excepted from."
Received on Wednesday, 25 September 2002 07:06:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:59 GMT