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



Subscribe to Tutorials

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. It was really good.helped me a lot to get started.
View Tutorial          By: rohit at 2010-08-21 04:57:32

2. Best Example for Inheritance. Thank lot!

View Tutorial          By: Periyasamy C Chennai at 2010-07-09 01:35:30

3. Also note that for reverse ordering, If you have a
View Tutorial          By: Dwight at 2011-07-13 22:13:45

4. Thanks it helped to understand but error occurred
View Tutorial          By: Maya at 2010-11-17 22:08:10

5. Hi i am sanjay ,
I got the exact difference

View Tutorial          By: Sanjay Patel at 2012-05-06 11:36:00

6. i want to study c-programming language
View Tutorial          By: rajesh at 2008-07-27 07:43:09

7. And how did you do that ?
Can you share it

View Tutorial          By: Arsenio at 2009-07-18 23:01:00

8. my program is run and it created file in the sd ca
View Tutorial          By: mahesh at 2013-01-21 04:15:21

9. Thanks,
But i would like to use an array li

View Tutorial          By: Gustavo at 2011-06-15 21:03:20

10. Hi,Please send me running code for sending sms fro
View Tutorial          By: rahul at 2008-11-14 05:15:02