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.Exp

Switch to Manual
public static function Exp(power: float): float;

Parameters

Description

Returns e raised to the specified power.

	print(Mathf.Exp(6));