Comment on Tutorial - Using parseInt() and parseFloat() in JavaScript to convert data types to Numbers By Nicholas C. Zakas



Comment Added by : Sagar Wagh

Comment Added at : 2012-03-31 15:25:39

Comment on Tutorial : Using parseInt() and parseFloat() in JavaScript to convert data types to Numbers By Nicholas C. Zakas
Actually best practice is to always pass radix parameter to parseInt function. This link explains the problem you may face if you don't provide radix parameter.
http://swsharinginfo.blogspot.in/2011/09/jquery-parseint-without-radix-may-cause.html


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Very easy and simple to understand....good article
View Tutorial          By: Ashish at 2009-10-07 00:58:08

2. very nice tutorial.
Thanks..

View Tutorial          By: Ramar at 2011-06-16 08:16:14

3. Hello, this is a very good post. I'm a newbee in J
View Tutorial          By: Brian at 2013-04-11 09:07:33

4. hayz.
it soo hard to program,
but be

View Tutorial          By: bamz at 2008-09-22 20:31:23

5. sir,
my project is in asp.net so is ther

View Tutorial          By: mohsin at 2011-04-14 06:25:59

6. Thanks! It worked fine for me.
View Tutorial          By: John Franklin at 2009-04-02 10:37:44

7. ei! its me again..i badly need you help coz we are
View Tutorial          By: anne226 at 2009-02-11 10:24:21

8. Awesome, now I can say I've fully understood volat
View Tutorial          By: Andrew at 2012-01-13 18:19:15

9. how come its able to copy from copyFrom to CopyTo.
View Tutorial          By: sameera at 2015-09-12 13:56:29

10. Hi , instead of using localhost. I am using a mobi
View Tutorial          By: ashish at 2011-02-28 05:05:49