Language basics : explicit type conversion
Rule 1: As far as possible do not mix data types in an expression.
Rule 2: If you cannot avoid it, be aware of the implicit type conversions.
Rue 3: Take control: you do the type conversions explicitly. How?
To convert integer to float: float (X* Y);
To convert float to integer : int (Volume);