22 lines
398 B
Markdown
22 lines
398 B
Markdown
---
|
|
title: Fahrenheit to Celsius
|
|
tags: math
|
|
expertise: beginner
|
|
unlisted: true
|
|
cover: blog_images/last-light.jpg
|
|
firstSeen: 2020-04-16T11:00:06+03:00
|
|
lastUpdated: 2021-01-04T13:04:15+02:00
|
|
---
|
|
|
|
Converts Fahrenheit to Celsius.
|
|
|
|
- Follow the conversion formula `C = (F - 32) * 5 / 9`.
|
|
|
|
```js
|
|
const fahrenheitToCelsius = degrees => (degrees - 32) * 5 / 9;
|
|
```
|
|
|
|
```js
|
|
fahrenheitToCelsius(32); // 0
|
|
```
|