I'd sure like to work on it and get it committed, and I'll put it on my
to-do list for when I've finished with the ooDialog Guide.
Oliver
_____
From: Lee Peedin [mailto:l...@safedatausa.com]
Sent: 08 May 2013 19:04
To: oorexx-users@lists.sourceforge.net
Subject: Re: [Oorexx-users] Formatting a decimal number?
I surely do NOT have any issue with this becoming part of the distribution -
in fact I would consider it an honor. This was one of the last things I was
actively working on before being drawn in different directions. I had done
about all I knew to do to it, but as Mark says: "it can probably be
improved".
Lee
On 5/8/2013 2:54 PM, Mark Miesfeld wrote:
On Wed, May 8, 2013 at 12:17 PM, Oliver Sims
<oliver.s...@simsassociates.co.uk> wrote:
DecimalFormat looks really excellent! Puts in commas and trailing zeros plus
lots more.
What's the status of decimalFormat? Can I expect to see it rolled into
ooRexx at some time, or made generally available? I'd be nice to use it for
the Guide.
The DecimalFormat class was started by a committer, Lee Peedin, who was
active in RexxLa and the ooRexx project. Subsequently, for his own personal
reasons, he decided to play a less active role in both RexxLa and the ooRexx
project.
Code in the incubator is part of the project, with the same license as any
other code. It is publicly available, open source code. The state of the
code is whatever you see. Whether Lee felt he was done with it or not, I
don't know. But, like any software, it can probably be improved. And, as
a committer, it is your privilege to improve it, fix it, or enhance it.
As a committer, you could expect to see it rolled into ooRexx, if you take
the imitative and make the effort to do it.
Rick gave Lee some help at the time Lee was working on it, and I'm sure he
expected it to be rolled into the distribution. As did I. It is similar in
some respects to cvsStream.cls and mime.cls. Both of which were implemented
by committers and pushed into the distribution.
You should probably post on the devel list and see if anyone has any
objections to including it in the distribution, as a courtesy. I doubt
anyone is going to object. Then you just need to move the source code out
of the incubator into main or main.4.1.fixes. And integrate it into the
distribution packaging.
You can ask questions on the devel for anything you are unsure of how to do.
You can then push to get a release out of the door. Once you finish the
steps for that, you can expect to see it in ooRexx.
As a hint, if you start down this path, I would say you should move the
source code into main.4.1.fixes and main. You are more likely to get a
ooRexx 4.1.3 release done than get main ready for a major release.
The only thing I'd like to see added is an option to treat a number *as if*
it had two decimal places, so formatting "123456" produces "1,234.56" or
$1,234.56". The rationale for this is that money amounts are often stored in
a database as some number of cents. The only time they're expressed as
dollars and cents is when they're presented on some form of user interface
(screen/printout/etc.). So presenting 123456 cents as $1,234.56 needs the
"." to be inserted in the right place.
If you would like to see something added, then add it. ;-)
--
Mark Miesfeld
----------------------------------------------------------------------------
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users