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] Rounding off giving wrong result in 7.6.11

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Rounding off giving wrong result in 7.6.11
 Login/Join
 
Member
posted
Hello Friends,

We have just installed WF 7.6.11 and migrated our applications from WF 7.1.4. But some of our reports started giving wrong values. e.g. We have one define field

FIELD/A22.1=TABLE_FIELD/1000000;

The value of TABLE_FIELD/1000000 comes out to be 4.4861 but the field displayed in 7.6.11 is 4.4 which should be 4.5 as it is coming in 7.1.4.

Has anybody faced a similar issue with 7.6.11?


regards,
Deepak

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


Regards,

Deepak
WebFOCUS 7.6.11
Redhat Linux 5.5
Excel, pdf, HTML
 
Posts: 13 | Registered: July 14, 2008Report This Post
Virtuoso
posted Hide Post
A22.1 is not a valid format specifier. Did you mean D22.1?

It works fine here:
APP APPENDPATH IBISAMP
-RUN

DEFINE FILE CAR
	VALUE/D22.1 = 4486100/1000000;
END
TABLE FILE CAR
	PRINT VALUE CAR
WHERE RECORDLIMIT EQ 1;
END


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Expert
posted Hide Post
4.5 in v7.6.8.

It's called "rounding", so, is it "wrong" or is it just "different"?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
I'm getting 4.5 in v7.6.11 as well. Something else must be going on


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Master
posted Hide Post
I don't think D22 is valid either. I thought the max was D15.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
<JG>
posted
The documentation all says 16 display characters for D format including the minus sign.

But I believe that this is nolonger correct.

20 display characters is valid and is generally generated against relational tables for numbers
as D20.2.

However the numeric funtions such as FTOA still only accept a maximum of 15.
 
Report 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] Rounding off giving wrong result in 7.6.11

Copyright © 1996-2020 Information Builders