Sign overpunch is used quite heavily on mainframe systems, where they don't
want to waste a character representing a negative number.
Instead of a negative indicator (i.e. an initial "-" character), the final
character is changed from a number to an associated letter).
See this link for a fuller / better description:
http://en.wikipedia.org/wiki/Signed_overpunch
What is the expected output? What do you see instead?
-1234.1234 would become 1234.123M
What version of the product are you using?
Using current trunk version (Revision: 180)
On what Java version?
N/A
Please provide any additional information below.
I think this can be easily achieved by adding an additional Sign type (i.e.
Sign.OVERPUNCH).
Please find attached an enhanced Sign.java and an additional associated test
class to prove some scenarios work (i.e. formatting using overpunch with
short/integer/long/float/double/bigdecimal).
Original issue reported on code.google.com by danim...@googlemail.com on 11 May 2011 at 2:43
Original issue reported on code.google.com by
danim...@googlemail.com
on 11 May 2011 at 2:43Attachments: