| 2194 | // degrees Celsius or Fahrenheit, as used with atmospheric refraction. |
| 2195 | |
| 2196 | char *SzTemperature(real tmp) |
| 2197 | { |
| 2198 | static char szTemp[21]; |
| 2199 | char *pch; |
| 2200 | |
| 2201 | FormatR(szTemp, us.fEuroDist ? tmp : tmp * 9.0/5.0 + 32.0, -2); |
| 2202 | for (pch = szTemp; *pch; pch++) |
| 2203 | ; |
| 2204 | sprintf(pch, "%s", us.fEuroDist ? "C" : "F"); |
| 2205 | return szTemp; |
| 2206 | } |
| 2207 | |
| 2208 | |
| 2209 | // Format and return a string containing a relatively short length, displayed |
no test coverage detected