Math.Log
Math.Log10
Math.Log2
Returns the base 10 logarithm of a specified number.
Math.Log10(d)
아래 값을 입력하면 예제에 즉시 반영됩니다.
Console
WriteLine
Math
Console.WriteLine(Math.Log10(100)); // 2 Console.WriteLine(Math.Log10(1000)); // 3