check.integer function

Check if a number is integer