Back to JS main page

BY:Cut-N-Paste JavaScript from ISN Toolbox
DATE:1996-08-01


COMMENTS:
Code Snippet for "Manual" Conversion of Strings to Numbers
For the developer who knows that he or she has to support all platforms at the Web Site, this "hack" snippet will insure that the visitor with an older version of Netscape® or an older PC/Windows® machine will not see the irritating error messages relating to "Not a Number" or "NaN".

Type a number here:   See the numeric return value here:
See the string added to itself here: And the numeric added to itself here:


If you want this script just choose "Save Frame As..." (in Netscape) when you have the focus on the frame.

URL: http://www.oocities.org/SiliconValley/7116/jv_nan.html