mi-to-km
v1.0.0
Published
Convert miles to kilometers
Downloads
47
Readme
mi-to-km
Convert miles to kilometers
Install
$ npm install --save mi-to-km
Usage
const miToKm = require('mi-to-km');
miToKm(1);
//=> 1.609344
miToKm('unicorns');
//=> undefined
API
miToKm(input, [options])
input
Type: number
Returns undefined
when input is not a number or cannot be parsed to one.
License
MIT © Pier-Luc Gendreau