log10

From RPTools Wiki
Jump to navigation Jump to search

log10() Function

Returns the logarithm of base 10 of a number.

Usage

[h: val = log(num)]
[h: val = log10(num)]

Example

[r: log(100)]
[r: log(1000)]

Returns

  2
3