Casted average into a decimal