There must be a function in WebFOCUS to raise a number to a power(like 2 to the power of 64). I searched in the forums and documentation. I could not find it. Can somebody please help ?
Thanks, ShravanThis message has been edited. Last edited by: shravan,
7.7.03, Windows 7, SQL Server 2005
March 30, 2012, 10:09 AM
shravan
I think I found the answer. I was searching using the key words "raise to the power" and "to the power". I found the answer when I searched using the key word "Exponentiation". If anybody still wants to know how you raise x to the nth power, here is how we do it.
COMPUTE RAISEIT/I5 = x**n;
Thanks, Shravan
7.7.03, Windows 7, SQL Server 2005
April 01, 2012, 05:59 PM
Waz
I had forgotten about that.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
April 02, 2012, 10:29 AM
njsden
Thanks for the tip Shravan.
You may want to edit your original post's title and prefix it with [SHARING] for easy reference.