cast memory variables to float before division