a= 100
Use the following code to determine whether it is an integer:
Import type
Type (a)= = Type (1)
The value of the last expression is the result you want.