Chidre's Tech Tutorials | Website

Converts a given value to an integer number, if not possible then returns NaN value. Ex: If the given value is of integer type, then it returns number as it is. document.write( parseInt(24) ); // 24. document.write(parseInt(12+12)); // 24. If the given value is of float type, then it discards the float part and returns integer part of the number ................
................