JQuery validation plugin is widely used in web applications for inline form validations. When I came across the number method validation, it allows the decimal number. but I had situation to allow only non decimal number in some form fields. Fortunately, jquery validation allow us to extend the custom method. So I created below method to validate decimal numbers. Hope it will help some one looking for the same!
$.validator.addMethod("noDecimal", function(value, element) { return !(value % 1); }, "No decimal numbers");