Version: 2017.1
public static float Log10 (float f);

描述

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

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { print(Mathf.Log10(100)); } }