The error is error in expression, and all I am doing is

$mb = $volsize / 1024

Duncan