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     How to Returns a number raised to a power ??

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to Returns a number raised to a power ??
 Login/Join
 
Member
posted
Hi everybody ,

Is there a function that return a number raised to a power, like Business object function Power(number start_number, number power):

start_number
The number to be raised to a power

power
The power

Example:
Power(3,3)=> returns 27

Power(10,2)=> returns 100

Thank you in advance

Regards,
Abdessamade


WebFOCUS 8.0
 
Posts: 28 | Registered: April 28, 2014Report This Post
Master
posted Hide Post
There is no direct function in WF to calculate POWER. However, you can create your own function using DEFINE FUNCTION and use it across reports.

Thanks,
Ram
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Virtuoso
posted Hide Post
Raising a number to a power is not a function, it is a mathematical expression.

Use X**Y.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Member
posted Hide Post
Thank you for the help


WebFOCUS 8.0
 
Posts: 28 | Registered: April 28, 2014Report This Post
Master
posted Hide Post
Thanks for sharing Alan. I could see POWER funtion in datamigrator, but not in WF.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Member
posted Hide Post
DEFINE FILE CAR
POWER/I9 = SEATS ** 3;
END
TABLE FILE CAR
PRINT POWER SEATS
END
 
Posts: 5 | Registered: February 07, 2007Report 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     How to Returns a number raised to a power ??

Copyright © 1996-2020 Information Builders