Difference between revisions of "Pow - Math"

Jump to navigation Jump to search
8 bytes added ,  07:40, 23 April 2013
m
Floatified ints
imported>JLundin
imported>JustinOther
m (Floatified ints)
 
Line 20: Line 20:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
float x = pow(2, 2) ; x == 4
float x = pow(2.0, 2.0) ; x == 4
float y = pow(2, 8) ; y == 256
float y = pow(2.0, 8.0) ; y == 256
</source>
</source>


== See Also ==
== See Also ==
*[[Math Script]]
*[[Math Script]]
Anonymous user

Navigation menu