isInteger Javascript


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function isInteger(value){
  2. return ( !(value % 1) );
  3. }

URL: http://www.ultrashock.com/forums/oop/extending-the-number-prototype-is-integer-6499.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.