Logoj0ke.net Open Build Service > Projects > internetx > perl-Math-Calc-Units
Sign Up | Log In

Human-readable unit-aware calculator

Math::Calc::Units is a simple calculator that keeps track of units. It currently handles combinations of byte sizes and duration only, although adding any other multiplicative types is easy. Any unknown type is treated as a unique user type (with some effort to map English plurals to their singular forms).

The primary intended use is via the ucalc script that prints out all of the "readable" variants of a value. For example, "3 bytes" will only produce "3 byte", but "3 byte / sec" produces the original along with "180 byte / minute", "10.55 kilobyte / hour", etc.

Source Files

Filename Size Changed Actions
_aggregate 134 Bytes over 4 years ago Download File

Latest Revision

hostmaster hostmaster committed over 4 years ago (revision 1)

Comments for internetx (0)