Pow

From GECK
Jump to: navigation, search


A function added by the Fallout Script Extender.

Description

When given two numbers will return the value of the first to the power of the second.

Syntax

[help]
(float) Pow num1:float num2:float 

Examples

 float x
 float y
 float answer
 
 set x to 2.0
 set y to 5.0
 
 set answer to pow x y       ;answer will contain 2^5 which is 32.0

See Also