multipliers.rb

Path: lib/more/facets/multipliers.rb
Last Update: Thu Jun 24 13:18:25 +0000 2010

Multipliers

Synopsis

Adds methods to Numeric to make working with magnitudes (kilo, mega, giga, milli, micro, etc.)

History

  Thanks to Rich Kilmer and bytes.rb which inspired this library.

Notes

  • This library is not compatible with STICK‘s units.rb (an spin-off of Facets old units.rb library). Do not attempt to use both at the same time.

Authors

  • Thomas Sawyer

Copying

Copyright (c) 2005 Thomas Sawyer

Ruby License

This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Validate]