MathTop

log10 函数

计算表达式的以 10 为底的对数。

语法

  • log10(expr)
  • logten(expr)

参数与选项

expr要变换或求值的表达式。

示例

  1. 常用对数log10(1000)返回 3。