Forums
FOCUS/WebFOCUS
Formatting Issue - Minus symbol not preceeding the decimal value|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Gold member |
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 |
||
|
|
Master |
You should just use D12.2!D NOT D12.2-!D
|
|||
|
|
Master |
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. |
|||
|
|
Gold member |
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 |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|
Forums
FOCUS/WebFOCUS
Formatting Issue - Minus symbol not preceeding the decimal value
