Skip to content

Measurement utility for converting common units, designed for the boating industry

License

Notifications You must be signed in to change notification settings

nullthoughts/boat-units-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

converter

Measurement utility for converting common units, designed for the boating industry

Install

composer require distinctm/converter

Usage

  • Feet to Foot Inches: (new Length)->convert('feet', 9.25, 'foot-inches') //9'3"
  • Feet to Foot Inches with optional display units: (new Length)->convert('feet', 9.25, 'foot-inches', [' ft, ', ' in') //9 ft, 3 in
  • Inches to Feet: (new Length)->convert('inches', 99, 'feet') //8.25

Supported units

  • Length
    • Foot Inches
    • Feet
    • Inches

Notes

  • At the moment, the converter just supports length. Volume and other units are coming soon, see Issues #1 & #2
  • Please feel free to contribute by submitting a PR

About

Measurement utility for converting common units, designed for the boating industry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages