IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Formatting Issue - Minus symbol not preceeding the decimal value
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  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: 78 | Registered: March 21, 2007Reply With QuoteEdit or Delete MessageReport This Post
JG
Master
Posted Hide Post
You should just use D12.2!D NOT D12.2-!D
 
Posts: 943 | Registered: February 24, 2005Reply With QuoteEdit or Delete MessageReport This Post
Master
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.6.5, PMF 5.1, MRE,RA,RG, etc... Win2003(8xQuad)/IIS/Tomcat with SSL and AD security.
 
Posts: 848 | Location: Portugal | Registered: February 07, 2007Reply With QuoteEdit or Delete MessageReport 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: 78 | Registered: March 21, 2007Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Formatting Issue - Minus symbol not preceeding the decimal value

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.