|
-
Aug 25th, 2005, 01:40 PM
#1
Thread Starter
Frenzied Member
[WORD] Align To Decimal
I'm printing out huge tables of numbers aligned to the centre of each cell.
This looks fine except when negative numbers start to appear.
The align to centre then doesn't look quite right as the negative sign casues a bit of offset.
The way around this is to align to the decimal point by putting a decimal tab in the middle of the cell and aligning left to it.
However, I am currently only doing this by eye.
How can I work out programatically where to put the decimal tab, based on the length of the number?
The numbers will all have the same number of decimal places in each column but can have different number of places in different columns/tables.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|