Saturday, January 25, 2003 02:56 AM
It is mentioned in API that if any -ve value is formatted , it is shown under the parentheses. so , its giving rite value.
for ur ref: API says
If you are using proportional fonts, instead of padding with spaces, measure the width of the string in pixels from the start to getEndIndex. Then move the pen by (desiredPixelWidth - widthToAlignmentPoint) before drawing the text. It also works where there is no decimal, but possibly additional characters at the end, e.g., with parentheses in negative numbers: "(12)" for -12.