Convert.js

Star

Metric Conversion


Usage
convert.Metric(data, source, target)

Parameters:
Data => Value to be converted
Source => Current unit
Target => Output unit

Source / Target Units:
  • cm => cantimeters
  • km => kilometers
  • hm => hectometers
  • m => meters
  • mm => milimeters
  • inch => inch
  • feet => feet
  • yard => yard

The Sample of Usage: