Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Formatting Issue - Minus symbol not preceeding the decimal value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Formatting Issue - Minus symbol not preceeding the decimal value
 Login/Join
 
Gold member
posted
I am trying to format a column with D12.2-!D (giving 2 decimal space, with dollar sign and setting minus symbol if there is a negative value).
In output i am getting the number s
  $20.45- 
i need the output as
      -$20.45 

Any idea why this formatting shows the output differently?

Regards


Dev:
Dev Studio 7.1.6,Report Caster 7.1.1,Servlet
Local:
Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2,
Win XP


 
Posts: 80 | Registered: March 21, 2007Report This Post
<JG>
posted
You should just use D12.2!D NOT D12.2-!D
 
Report This Post
Virtuoso
posted Hide Post
The '-' in the format for a field displays a -ve sign to the right of the number, as stated in the manual. This changes the normal position which is a leading -ve sign.

Just use D12.2!D to get a leading -ve sign


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Gold member
posted Hide Post
It worked. Thanks.


Dev:
Dev Studio 7.1.6,Report Caster 7.1.1,Servlet
Local:
Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2,
Win XP


 
Posts: 80 | Registered: March 21, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Formatting Issue - Minus symbol not preceeding the decimal value

Copyright © 1996-2020 Information Builders