Check num variable.