public static float Log10 (float f);

Description

返回指定的数字的以 10 为底的对数。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { // logarithm of 100 in base 10 // Prints 2 print(Mathf.Log10(100)); } }