Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 421 Bytes

pow.adoc

File metadata and controls

35 lines (28 loc) · 421 Bytes

pow()

Important

Deprecated in 5.0.

Please use [func-math-pow] instead.

pow(x, y) => Float

Calculates x raised to the power of y.

Table 1. Parameters

x

Float

Initial value.

y

Float

Power.

Return

x raised to the power of y.

Example
println(pow(2, 3)); //Will print "8"