Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Mathf.Pow

Switch to Manual
public static function Pow(f: float, p: float): float;

Parameters

Description

Returns f raised to power p.

	print(Mathf.Pow(6, 1.8));