Example:
var? a = 123;
If(parseInt(a)==a){// Converts the value of variable A through parseInt, and then compares it with A itself. If it is an integer, the two are consistent; If it is not an integer, the two are inconsistent.
//is an integer.
} Otherwise {
//is not an integer
} added:
ParseInt: means to round the value.