Background for Skyrim SE
Member of the DbMiscFunctions script
intfunctionIntPow(intx, inty)Global

Description

Documentation Comment

like Math.Pow, calculates x to the y power, but uses only integers which is more accurate if not needing floats.
Only works for positive y values.


Caveats


Parameters

intx

inty


Examples

Auto-Generated Example

int myInt__x
int myInt__y

int returnedValue = DbMiscFunctions.IntPow(myInt__x, myInt__y)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.