Skip to Content
avatar image
Former Member

How to set the num.currency{} such a way that it will display "-" sign for Negative numbers instead of "()"

Hi SAP folks,

I am working on a Adobe invoice form, where in few currency fields might need to show as "-" if they are negative numbers.

I am using Display pattern num.currency{}, but its displaying it as ($1,234,567.89), I want this to display as $-1,234,567.89

Can anyone please let me know how to achieve this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 28, 2016 at 09:50 PM

    Hi Kiran,


    num.currency{} is a predefined numeric picture clause for currencies. What you can use is the following picture clause:

    num{$szzz,zzz,zz9}

    $ = currency symbol of he locale, s = '-' if value negative otherwise a space

    Juergen


    Add comment
    10|10000 characters needed characters exceeded