pow()

Deprecated in 5.0.

Please use 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.

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