You can only compare variables and values of the same type, e.g.: float and float, float and vector (magnitude).
This does not work (string and float):
a = "2.0"; if ( a >= 2 ) { };
a = "2.0";
if ( a >= 2 ) { };
Xpressionist 3