toCelsius static method

double toCelsius(
  1. double temp
)

Implementation

static double toCelsius(double temp) {
  return (temp - 32) * 5 / 9;
}