Programming Tutorials

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