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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
.00 instead od 0.00
 Login/Join
 
Gold member
posted
Hi,

I am firing a query that fetches the data from the database in which one field value is 0.00.But when the values are shown in the reports they become .00.I am not able to understand why the initial 0 value is truncated.Kindly help me.

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Platinum Member
posted Hide Post
A.,

Just add

SET CENT-ZERO=ON

at the beginning of your report

Hope this helps

P.


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Gold member
posted Hide Post
Thanks Pete.Its working now.

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Platinum Member
posted Hide Post
That's normal WebFOCUS behaviour. If you want leading zeros you can use the L edit option but then you will get lots of zeros before the decimal point.
If you specifically want to display 0.00 for a zero value then you would have to do it using DEFINEs or COMPUTEs where you convert the numeric field to an alpha.
 
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders