Skip to content

0101coding/unitconveter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M-Convert!

A basic command line program that is able to convert between common day to day units. For example converting 10mph to m/s or kph. See Details below

Examples

  1.  cargo run 10F to C
  2.  cargo run
     Convert: 10F to C
  3.  cargo run
     Convert: 10F
     To: C

Supported Units

  • Length: Meter(m), Kilometer(km), Mile(ml), Foot (ft)
    e.g 10m to Km

  • Mass: Kilogram(kg), Gram(g), Pound(lb), Ounce(oz)
    e.g 10oz to lb

  • Temperature: Celcius(°C), Fahrenheit(°F), Kelvin(°K)
    e.g 100°f to °C

  • Time: Seconds(sec), Minutes(min), Hour (hr), Day (d), Month(m), Year(yr), Decade(dec), Century(cent), Millenium (M)
    e.g 1hr to s

Known Issue

The Time conversion to seconds is still buggy

About

This is a basic unit converter written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages