語言

MathF.Log10(Single) 方法

定義

回傳指定數字的底位10對數。

public:
 static float Log10(float x);
public static float Log10(float x);
static member Log10 : single -> single
Public Shared Function Log10 (x As Single) As Single

參數

x
Single

取 10 進位對數的數字。

傳回

的 10 底對數 x

備註

參數 x 以10進位數表示。

此方法會呼叫底層的 C 執行時,且不同作業系統或架構間的精確結果或有效輸入範圍可能有所不同。

適用於