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     [CLOSED] Exl2k formula Rounding off

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Exl2k formula Rounding off
 Login/Join
 
Gold member
posted
Hi All,

We have a EXL2K FORMULA report output with fields format as D20.2 (Actual field format is D20.6).
By default EXL2K FORMULA format rounding off to the nearest integer value and then display it in excel.

Eg,. My field value is 43.376580, but it showing as 43.3766 in excel formula bar.

How to disable/remove this round off in EXL2K FORMULA output...?

I need actual value 43.37658 in cell. How to achieve this..?

Thanks..

This message has been edited. Last edited by: Maran,


WebFOCUS 8201m
Windows,AppStudio, DevStudio,All Outputs
 
Posts: 86 | Location: India | Registered: November 03, 2015Report This Post
Virtuoso
posted Hide Post
What's the value of that field if you run the report with FORMAT HTML? Is that rounded off too or is it displaying the correct value?

I'm trying to see if the problem is with Excel or WF.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Hi BabakNYC,

Actual Value is 43.376580

In FORMAT HTML output, it shows actual value 43.376580 for D12.6 and shows rounded off value 43.38 for D12.2 display format.

but in EXL2K FORMULA output, it shows 43.3766 in cell(formula bar) for D12.2 display format.

Thanks

This message has been edited. Last edited by: Maran,


WebFOCUS 8201m
Windows,AppStudio, DevStudio,All Outputs
 
Posts: 86 | Location: India | Registered: November 03, 2015Report This Post
Virtuoso
posted Hide Post
Have you checked to see what happens when you change your format in Excel?


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Gold member
posted Hide Post
Hi BabakNYC,

In Excel it's showing the desired output(43.37658 in cell and 43.38 in display) while change the format.


WebFOCUS 8201m
Windows,AppStudio, DevStudio,All Outputs
 
Posts: 86 | Location: India | Registered: November 03, 2015Report This Post
Expert
posted Hide Post
Try changing the format to P12.6.
1. Actual of 12.6 is not the usage of 12.2
2. Redefine with P12.6
3. Screenshot shows IBI automatically uses ROUND in the formula.
4. Code below works for me.
  
TABLE FILE CAR
ON TABLE SET PAGE-NUM OFF
SUM RC AND DC AND
COMPUTE PROFIT/P12.6 = (RC - DC) * .43567;
BY CAR
HEADING
"Profit By Car"
" "
ON TABLE COLUMN-TOTAL
ON TABLE PCHOLD FORMAT EXL2K FORMULA
ON TABLE SET STYLE *
TYPE=REPORT, COLOR=BLUE, BACKCOLOR=SILVER, SIZE=9,$
TYPE=HEADING, STYLE=BOLD, SIZE=14, $
TYPE=TITLE, STYLE=BOLD, SIZE=11,$
TYPE=GRANDTOTAL, STYLE=BOLD, SIZE=11,$
ENDSTYLE
END
-EXIT




Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Gold member
posted Hide Post
Thanks Tom.
But we are looking for output like below,

395.15 in cell display and 395.15269 in formula bar(original value).

postimage

This message has been edited. Last edited by: Maran,


WebFOCUS 8201m
Windows,AppStudio, DevStudio,All Outputs
 
Posts: 86 | Location: India | Registered: November 03, 2015Report This Post
Platinum Member
posted Hide Post
Then you need realise that be controlled in MS Excel not WebFOCUS.

When gets to MS Excel it finished in WebFOCUS. How display is control of MS Excel.

Kofi


Client Server 8.1.05: Apache; Tomcat;Windows Server 2012
Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
 
Posts: 106 | Registered: April 06, 2009Report 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     [CLOSED] Exl2k formula Rounding off

Copyright © 1996-2020 Information Builders