frontend-fun / frontend-fun/react-hooks-typescript-tome

code typo: in functions code, 'fahrenheitToCelius' should be 'fahrenheitToCelsius'.

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1
Forks
8
PR merge metrics
No merged PRs in 30d

Description

in functions code, 'fahrenheitToCelius' should be 'fahrenheitToCelsius'.

/**
* Consumes a single temperature in Fahrenheit (a number) and converts to Celsius
* using this formula:
* C = (F - 32) * 5/9
*/
export function fahrenheitToCelius(temperature: number): number {
return ((temperature - 32) * 5) / 9;
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.