Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 | 1x 1x 1x 1x 1x 1x 2x 2x | /**
* 將攝氏溫度轉換為華氏溫度
* @param celsius - 攝氏溫度
* @returns 華氏溫度
*/
export function celsiusToFahrenheit(celsius: number): number {
return celsius * 9 / 5 + 32;
} |