krysna
Programmer
- May 20, 2008
- 22
I have a report where I am displaying an amount. It is formatted to 2 decimal places. However, the customer wants the negative amounts to show the minus sign on the right "sticking out" to the right of the number so that the decimal points are aligned. I have another report where they want parentheses around the negative numbers. When I use a right-side minus sign or parentheses to show negative numbers, the decimal points no longer line up because of the extra character on the right. Is there a way to make the numbers align on the decimal point? Or do I have to do a bunch of extra work to convert them to strings with spaces at the end or put in an extra field to the right that's suppressed when the number is positive? Seems like Crystal should be able to handle this.