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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.07-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
1.07-bp155.2.10 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.07-bp154.1.23 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.07-bp153.1.15 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.07-bp152.3.16 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
1.07-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
1.07-bp151.2.14 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.07-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|