log10

From RPTools Wiki
Revision as of 02:58, 9 March 2009 by Verisimilar (talk | contribs) (Added Macro Function category.)
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