Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Align on Decimal Point for Negative Numbers with Parentheses
Align on Decimal Point for Negative Numbers with Parentheses [message #1828694] Tue, 16 June 2020 16:26 Go to next message
Richard Plana is currently offline Richard PlanaFriend
Messages: 1
Registered: June 2020
Junior Member
Is it possible to (and how does one) align column entries in a Table on the decimal point when the format is: fixed decimal place showing (e.g. 2 decimal places) and negative numbers are indicated with parentheses? Currently, when I right-align the column, it aligns the values on the right-most character's right edge. In the case of negative numbers, that would be the right parenthesis. This throws the alignment on the decimal point even farther away.

Note: Not using fixed width fonts either, so narrower characters may throw the alignment off if I just base it off of the character count to the right of the decimal point.
Re: Align on Decimal Point for Negative Numbers with Parentheses [message #1831117 is a reply to message #1828694] Tue, 11 August 2020 21:19 Go to previous message
Thomas Gutmann is currently offline Thomas GutmannFriend
Messages: 21
Registered: April 2020
Junior Member
Hello Richard,

by default there isn't a way for alignment of decimal numbers.
BIRT hasn't such option.

The only way would by to try to create your date like a HTML-table and there you can try special formatting options based on CSS.
Som idea but not the whole solution you can find an idea there:
https://ux.stackexchange.com/questions/51752/how-to-best-align-numbers-and-text-in-one-column

The HTML-way isn't the easiest way.

Kind regards
Previous Topic:How to center table in generated html file and auto wrap text in table cell
Next Topic:Table not Showing in Connected Oracle Database in BIRT
Goto Forum:
  


Current Time: Sat Sep 25 16:24:21 GMT 2021

Powered by FUDForum. Page generated in 0.02383 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top