Skip to content

aliraza5490/Metric_to_Imperial_converter_microservice

Repository files navigation

Example usage

/api/convert?input=4gal
/api/convert?input=1/2km
/api/convert?input=5.4/3lbs
/api/convert?input=kg

Example return

{ 
  initNum: 3.1,
  initUnit: 'mi',
  returnNum: 4.98895,
  returnUnit: 'km',
  string: '3.1 miles converts to 4.98895 kilometers' 
}

About

FreeCodeCamp project "Metric/Imperial converter"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published