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     Conversion from Floating-point format( F6.2S ) to intergert or D12.2S to intergert

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Conversion from Floating-point format( F6.2S ) to intergert or D12.2S to intergert
 Login/Join
 
Gold member
posted
Hi
can any one tell me
how to convert from Floating-point format( F6.2S )to integer format
or
Decimal Format to integer format



ex:
614.2-->614
1.00-->1
like this
can any one hlep me Plz


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Guru
posted Hide Post
Have you considered DEFINE or COMPUTE?


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Gold member
posted Hide Post
considered DEFINE Filed


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 51 | Registered: December 01, 2010Report This Post
Platinum Member
posted Hide Post
Hi,
Have you tried something as simple as:
DEFINE FILE CAR
ISALES/I9 = SALES ;
END

Bear in mind that this "truncates" the value i.e.
614.2 --> 614
as well as e.g.
614.9 --> 614
If you want it to "round" the value rather than truncate, you'll need to look at using functions like ROUND and FPRINT.


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report 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     Conversion from Floating-point format( F6.2S ) to intergert or D12.2S to intergert

Copyright © 1996-2020 Information Builders