Skip to content
efficiency20Public
forked from pivotale20/unit

About

Unit support for numbers

Resources

Stars

1 star

Watchers

4 watching

Forks

 
 

Latest commit

 

History

82 Commits

Folders and files

Repository files navigation

README

Units introduces computation with units to ruby.

Usage

require 'unit'
puts 1.meter.in_kilometer
puts 1.MeV.in_joule
puts 10.KiB / 1.second
puts 10.KiB_per_second
puts Unit('1 m/s^2')

See the test cases for more examples.

Authors

Daniel Mendler

About

Unit support for numbers

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages