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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Numeric column issue

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Numeric column issue
 Login/Join
 
Platinum Member
posted
Hi
When i display the numeric fields in the output , it displays as 2,000.
Examle
2000 =2,000
2345 = 2,345

i am using the format like that

TABLE FILE SQLOUT
PRINT
AMOUNT/D20CBM AS AMOUNT
END

so my output will be 2,345 like that

My requirement is my output should be without the semicolon
like 2000,2345

Please help me to solve the issue.


Thanks
Gobinath Velusamy


WebFOCUS 7610
Windows
 
Posts: 121 | Registered: September 25, 2007Report This Post
Guru
posted Hide Post
Gobinath,

Try something like this...

  
TABLE FILE CAR
PRINT
     DEALER_COST
     DEALER_COST/D7c

END



For DEALER_COST/D7c the lower case c suppresses the comma.

Sayed


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Guru
posted Hide Post
First , is a comma and not a semi-colon.

If your numeric output is double precision floating point, 'D', then the format defaults to C, ie the comma is included; but if you over-ride that with c then the comma is suppressed.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Guru
posted Hide Post
quote:
AMOUNT/D20CBM AS AMOUNT



FYI! Try this for your case with lower case c.

AMOUNT/D20cBM AS AMOUNT


WF 8.x and 7.7.x Win/UNIX/AS400, MRE/Portal/Self-Service, IIS/Tomcat, WebSphere, IWA, Realmdriver, Active Directory, Oracle, SQLServer, DB2, MySQL, JD Edwards, E-BIZ, SAP BW, R/3, ECC, ESSBASE
 
Posts: 285 | Location: Texas | Registered: June 27, 2006Report This Post
Guru
posted Hide Post
Additionally, you may search the Technical Documentation Library using 'numeric display options' as a search argument for much more info.

You can enter the library from the upper right of this screen.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Platinum Member
posted Hide Post
1. You mean a ',' and not a ';'
2. Lower 'c' as stateD will suppress comma
3. Try using 'P' format instead of D, although calculation results may vary.

Ira
aix-533 WF 537


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
 
Posts: 195 | Registered: October 27, 2006Report This Post
Master
posted Hide Post
If you are wanting to save this with a comma between the values, the output format should be COMMA.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 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     Numeric column issue

Copyright © 1996-2020 Information Builders