15 lines
261 B
Markdown
15 lines
261 B
Markdown
### kmphToMph
|
|
|
|
Convert kilometers/hour to miles/hour.
|
|
|
|
Multiply the constant of proportionality with the argument.
|
|
|
|
```js
|
|
const kmphToMph = (kmph) => 0.621371192 * kmph;
|
|
```
|
|
|
|
```js
|
|
kmphToMph(10); // 16.09344000614692
|
|
kmphToMph(345.4); // 138.24264965280207
|
|
```
|