Log10
fValue = Log10 ( fNumber AS Float ) AS Float
计算
fNumber 以10为底的对数,
fNumber 必须大于0。
示例
PRINT Log10(10);; Log10(1000);; Log10(1000000)
DIM i AS INTEGER
FOR i = 1 TO 50 STEP 10
PRINT i, Log10(i)
NEXT
1 0
11 1.041392685158
21 1.322219294734
31 1.491361693834
41 1.61278385672
参见