Returns the base 10 logarithm of a specified number.
#pragma strict public class Example extends MonoBehaviour { function Start() { // Prints 2 print(Mathf.Log10(100)); } }
using UnityEngine;
public class Example : MonoBehaviour { void Start() { // logarithm of 100 in base 10 // Prints 2 print(Mathf.Log10(100)); } }