cast weather numbers to right type