Sv: Square Root Number Function.

Ole Hansen, ScanConsult oh@scanconsult.dk
Thu, 14 Jun 2001 15:31:56 +0200


Hi Earl,

Use the 'exponentiation' operator (^) in PowerHouse. Square root is - as we all tend to forget - equivalent to raising to the 0.5th power, i.e.

DEFINE SQRT NUM*4 = POSITIVE-NUMBER ^ 0.5

will give the square root of POSITIVE-NUMBER in the variable SQRT.

/Ole Hansen

====================================================================
E-mail: oh@scanconsult.dk                Cell Phone: +45 40 40 11 50
====================================================================
ScanConsult IT-Partners ApS                Voice   : +45 87 38 74 74
Jegstrupvej 96A                            Fax     : +45 87 38 74 75
DK-8361 Hasselager                  Support : support@scanconsult.dk
Denmark                             Sales   :   sales@scanconsult.dk
                     http://www.scanconsult.dk
===     ParaSuite :  A Suite of Air Cargo Handling solutions     ===
===     ParaSafe  :  A Suite of IT-Security solutions            ===
===  We partner with  Hewlett-Packard, Cognos, Lotus and others  ===

-----Oprindelig meddelelse-----
Fra: Earl A Sullivan <sullivane@dteenergy.com>
Til: powerh-l@lists.swau.edu <powerh-l@lists.swau.edu>
Dato: 14. juni 2001 14:38
Emne: Square Root Number Function.


>Hello All
>
>Does anyone know how to perform the SQUARE ROOT of a value in Power
>House, by using a Power House Function, an SQL Function or simple
>mathematics such as 2 x 2 = 4?
>
>Thanks for your assistance.
>
>Earl Sullivan
>
>
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.swau.edu
>Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
>Unsubscribe: "unsubscribe" in message body to powerh-l-request@lists.swau.edu
>http://lists.swau.edu/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>