GM: log10

From GMpedia.org Wiki

Jump to: navigation, search

log10
 

Type: function
Arguments: 1: value
Limitations: none
The correct title of this article is log10(). It appears incorrectly here because of technical restrictions.

The Game Maker log10() function returns the logarithm with base 10 (or Briggs' logarithm) of a value.

[edit] Examples

  • log10(0) does not exist since 10^x=0 is not possible
  • log10(1) = 0 as 10^0 = 1
  • log10(1000) = 3 as 10^3 = 1000
Personal tools