Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function celsiusToFahrenheit(celsius) {
- let fahrenheit = parseFloat(celsius[0]) * 1.800 + 32;
- console.log(`${fahrenheit.toFixed(2)}`)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement