views:

24

answers:

1

I want to format a number with the '+' or '-' sign attached to it. When i tried with the useNegativeSign=true, it gave only '-' sign. I want like this : +13%, -12%, ...

Thanks in Advance, Cheers,PK

+1  A: 

You probably want to write your own Formatter for this, to prepend the symbol and append the percent sign.

Creating a formatter

Gregor Kiddie
thanx Gregor, I think thats the perfect solution for my query... :)
Anoop