GM: logn

From GMpedia.org Wiki

Jump to: navigation, search

logn
 

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

The logn() function in Game Maker returns the logarithm with base n of a value.

Examples:

  • logn(2,16) returns 4
  • logn(3,81) also returns 4
  • ...
Personal tools