mmm...
try with:
$mb = 0.0 + $volsize / 1024

anyway, the thing is probably that the $volsize is string not numeric.
check it with valtype()
anyway, if you want to translate it to value:
$mb = val($volsize) / 1024

cheers-,-
_________________________
!

download KiXnet