Skip Menu |

This queue is for tickets about the Number-Format CPAN distribution.

Report information
The Basics
Id: 40455
Status: resolved
Priority: 0/
Queue: Number-Format

People
Owner: WRW [...] cpan.org
Requestors: dom [...] math.uni-bonn.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.

A fix for this will be in the next version of Number::Format
Fixed in release 1.72