Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

To prefix an amount with a negative sign

Former Member
379

Hi All,

I want to prefix a positive amount with a negative sign...for display...

How will I be able to do that ?

Regards,

Archana

1 ACCEPTED SOLUTION

Former Member
0 Kudos
53

amount = -1 * amount.

if it does not work then you might need to change the type of amount field.

Thanks,

Ram

3 REPLIES 3

Former Member
0 Kudos
54

amount = -1 * amount.

if it does not work then you might need to change the type of amount field.

Thanks,

Ram

Former Member
0 Kudos
53

hey thanx ya....

don know why this didnt come to my mind : )...thanx...

0 Kudos
53

I can't believe my luck..I got 10 points for this:-)

Thanks Archana,

Ram