@irenla You have probably already figured this out but try this. return temp; float tempF = (temp * 9.0) / 5.0 + 32.0; you get the idea now.