temperature
useful functions for manipulating temperatures
Install via NPM
$ npm i @loadsmart/utils-temperature --save
Install via yarn
$ yarn add @loadsmart/utils-temperature
Usage
import React from 'react'
import {
celsiusToFahrenheit,
fahrenheitToCelsius,
} from '@loadsmart/utils-temperature'
export default () => (
<div>
temperature in Fahrenheit: {celsiusToFahrenheit('100')}
temperature in Celsius: {fahrenheitToCelsius('100')}
</div>
)