StevenFrost / AviationWeather

A C++ library for formatting and parsing various meteorology-related data structures
Other
4 stars 1 forks source link

Celsius to Fahrenheit conversion #2

Closed ollyau closed 9 years ago

ollyau commented 9 years ago

Line 35 of Meteorology.hpp (https://github.com/StevenFrost/Meteorology/blob/576527c715a26a2cc63b3b6638b9046084470f78/Source/Meteorology.hpp#L35) performs an incorrect unit conversion. The appropriate conversion should be degrees Fahrenheit = degrees Celsius * 9 / 5 + 32.