How to check if dailog field value is an Integer or not???

i have created a Report, which is accessed from a dailog. which has integer field. how to check if the user has inserted a integer value or not, and give a warning message if he has not inserted an integer value. Am using AX2009