In PHP you can just say something like this:
$var1 = 66; // its now an int
$var1 += 0.5 // $var1 would now be and float containing 66.5
You could also force a variable to become something else by
settype($var1, 'float');
in addition you could use
gettype($var1);
witch would return a sring stating what type $var is e.g. "integer"...
Andreas Bernhardsen