Software Engineering Wiki

CelsiusToFahrenheit

Converts Celsius to Fahrenheit.

  • Follows the conversion formula F = 1.8C + 32.
func CelsiusToFahrenheit(d float64) float64 {
	return 1.8 * d + 32.0
}
CelsiusToFahrenheit(33.0) // 91.4

Last updated 15 September 2026 · Edit this page