Cast volume var to Int