Name : perl-Math-Calc-Units
| |
Version : 1.07
| Vendor : obs://build_opensuse_org/home:csbuild
|
Release : 1.2
| Date : 2014-06-19 05:17:10
|
Group : Development/Libraries/Perl
| Source RPM : perl-Math-Calc-Units-1.07-1.2.src.rpm
|
Size : 0.07 MB
| |
Packager : (none)
| |
Summary : Math-Calc-Units - Human-readable unit-aware calculator
|
Description :
C< 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 C< ucalc> script that prints out all of the \"readable\" variants of a value. For example, C< \"3 bytes\"> will only produce C< \"3 byte\">, but C< \"3 byte / sec\"> produces the original along with C< \"180 byte / minute\">, C< \"10.55 kilobyte / hour\">, etc.
The C< Math::Calc::Units> interface only provides for string-based computations, which could result in a large loss of precision for some applications. If you need the exact result, you may pass in an extra parameter C< \'exact\'> to C< calc> or C< convert>, causing them to return a 2-element list containing the numerical result and a string describing the units of that result:
my ($value, $units) = convert(\"10MB/sec\", \"GB/day\");
(In scalar context, they just return the numeric value.)
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/csbuild:/Perl/RedHat_RHEL-6/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Math::Calc::Units)
perl(Math::Calc::Units::Compute)
perl(Math::Calc::Units::Convert)
perl(Math::Calc::Units::Convert::Base)
perl(Math::Calc::Units::Convert::Base2Metric)
perl(Math::Calc::Units::Convert::Byte)
perl(Math::Calc::Units::Convert::Combo)
perl(Math::Calc::Units::Convert::Date)
perl(Math::Calc::Units::Convert::Distance)
perl(Math::Calc::Units::Convert::Metric)
perl(Math::Calc::Units::Convert::Multi)
perl(Math::Calc::Units::Convert::Time)
perl(Math::Calc::Units::Grammar)
perl(Math::Calc::Units::Rank)
perl(Parse::Yapp::Driver)
perl-Math-Calc-Units
Requires :