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. This tutorial is really fantastic.It helped me a l
View Tutorial          By: LakshmiNaryana Gorantla at 2010-04-19 23:35:45

2. Awesome work! Ramlak, thank you for your help!
View Tutorial          By: ico at 2011-03-21 04:23:11

3. Hi,

I think this is not a correct d

View Tutorial          By: Dinesh Chopra dc at 2013-03-19 04:30:48

4. /
//BSIT
//
#include<iost

View Tutorial          By: Joshua Torres at 2012-10-05 16:59:17

5. hai i have downloaded the above sms source code i
View Tutorial          By: arunram at 2009-10-28 01:42:51

6. can you help me do this? - write a program that wi
View Tutorial          By: rence at 2011-08-16 13:33:14

7. good!
View Tutorial          By: rey.ryan at 2009-03-14 05:49:28

8. Nice info. I must say about this post.
than

View Tutorial          By: Ganesh Prasad at 2012-10-30 05:51:49

9. Hey is there any way to export datagrid to crystal
View Tutorial          By: Anu at 2009-05-08 13:11:48

10. Great!
View Tutorial          By: justauser at 2012-08-31 13:57:58