Subject: | giga prefix and base for unformat_number |
Date: | Tue, 28 Oct 2008 14:50:10 +0100 |
To: | bug-Number-Format [...] rt.cpan.org |
From: | Mario Domgoergen <dom [...] math.uni-bonn.de> |
Hello,
the attached patch adds functionality to recognize the giga prefix and
honor the base of a number, so that the following calls are possible:
unformat_number("5G", { base => 1000 }) => 5000000000
unformat_number("5G", { base => 1024 }) => 5368709120
Best regards,
Mario Domgoergen
--
Mario Domgoergen - Systemadministration
Mathematische Institut der Universitaet Bonn
Beringstrasse 4, 53115 Bonn / Zimmer 3
Tel.: +49-228-737773 / dom@math.uni-bonn.de
Message body is not shown because sender requested not to inline it.