From 0b218347ff7f3a2934621b0fc8cd2d39c2ec1824 Mon Sep 17 00:00:00 2001 From: Asartea <76259120+Asartea@users.noreply.github.com> Date: Sat, 12 Nov 2022 20:59:52 +0100 Subject: [PATCH] Missed README.md --- 07_tempConversion/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/07_tempConversion/README.md b/07_tempConversion/README.md index 081a650..77682f6 100644 --- a/07_tempConversion/README.md +++ b/07_tempConversion/README.md @@ -2,12 +2,12 @@ Write two functions that convert temperatures from Fahrenheit to Celsius, and vice versa: ``` -ftoc(32) // fahrenheit to celsius, should return 0 +convertToCelsius(32) // fahrenheit to celsius, should return 0 -ctof(0) // celsius to fahrenheit, should return 32 +convertToFahrenheit(0) // celsius to fahrenheit, should return 32 ``` -Because we are human, we want the result temperature to be rounded to one decimal place: i.e., `ftoc(100)` should return `37.8` and not `37.77777777777778`. +Because we are human, we want the result temperature to be rounded to one decimal place: i.e., `convertToCelsius(100)` should return `37.8` and not `37.77777777777778`. This exercise asks you to create more than one function so the `module.exports` section of the spec file looks a little different this time. Nothing to worry about, we're just packaging both functions into a single object to be exported.