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.
Looks as if you need to do some math figuring, if you calculate in decimal mode add .9 to the answer and then convert the output to integer which truncates would that work? In math terms
3.12285 + .9 = 4.02285 integer is 4 3.5 + .9 = 4.5 integer is 4
might work for you.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
Mark, If you always want to round up then you have to beware of two possibilities: 1. your number is a whole number to begin with 2. your number is slightly over a whole number. I suggest, if your original field is FIELD/D8.2:
WFIELD/D8=INT(FIELD);
UPFIELD/D8=IF FIELD EQ WFIELD THEN FIELD ELSE WFIELD + 1;
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
I might consider a refinement use one of the MOD functions (DMOD,FMOD,IMOD) to determine whether or not your remainder really is zero. Just comparing the FIELD to the WFIELD isn't quite reliable, because that FIELD may appear to be 8.0 and its integer value ,8, would equal WFIELD, however these D fields carry decimal leave-behinds way down in the 32nd digit (or however far they really go internally ) so a MOD of FIELD/WFIELD will either equal 0 if they are truly equal or not 0, if they're even a negligible bit off.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003