[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Very Simple java.text.DecimalFormat fix
From: |
Andrew John Hughes |
Subject: |
[cp-patches] Very Simple java.text.DecimalFormat fix |
Date: |
Wed, 29 Dec 2004 01:52:55 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
The very short attached patch fixes percentage formatting for longs in
DecimalFormat
(used by NumberFormat); the multiplier was simply being ignored in format(long).
2004-12-29 Andrew John Hughes <address@hidden>
* java/text/DecimalFormat.java
(format (long, StringBuffer, FieldPosition)): multiply
number by multiplier before formatting.
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
No software patents in Europe -- http://nosoftwarepatents.com
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner
numberformat-01.diff
Description: Text document
signature.asc
Description: Digital signature
- [cp-patches] Very Simple java.text.DecimalFormat fix,
Andrew John Hughes <=