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.

JavaScript
print(Mathf.Exp(6));

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

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