Mathf.Exp Manual     Reference     Scripting  
Scripting > Runtime Classes > Mathf
Mathf.Exp

static function Exp (power : float) : float

Description

Returns e raised to the specified power.

JavaScripts
print(Mathf.Exp(6));

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
print(Mathf.Exp(6));
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
print(Mathf.Exp(6))