This commit is contained in:
Angelos Chalaris
2018-10-16 20:22:23 +03:00
parent 8d5d6cb8bd
commit 6fcba24379
13 changed files with 50 additions and 58 deletions

View File

@ -0,0 +1,14 @@
### mphToKmph
Convert miles/hour to kilometers/hour.
Multiply the constant of proportionality with the argument.
```js
const mphToKmph = (mph) => 1.6093440006146922 * mph;
```
```js
mphToKmph(10); // 16.09344000614692
mphToKmph(85.9); // 138.24264965280207
```