codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  NaN  Balakumaran at 12:39 on Saturday, May 02, 2009
 

i have a grid table,
in this i have four rows, when i multiply the qty*price, getting the value,

if i not giving any values in the qty, i'm getting NaN.00 value in the total.

how to avoid the NaN.00 using javascript

plz someone help me.

  Re: NaN  rajiv_dev at 16:26 on Friday, August 14, 2009
 

look for isNaN function.. and perform a check on display so that 0 is displayed....

there are other ways of doing this too








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• C++
• Re: refresh parent after closing pop up window
• Dynamic Insertion
• Date and Time function around the world???
• Significant Factors
• Perl array access
• Re: huffman encoding and decoding in C++...
• Perl One Liner: Replace {(
• Re: html including php, accessing the functions


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009