L3DT users' wiki
Large 3D terrain generator

log10

Description

Calculate the basic logarithm (base 10) of a number.

Function prototype

double log10 <double:value>

Arguments

Name Type Comment
value double A number, the basic logarithm of which is to be calculated.

Return value

The basic logarithm of the value provided, in double-precision.

Example

echo <zs:log10 100> // log10(100) = 2

… the output of which is written to the event log by echo as:

2

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/log10.txt · Last modified: 2017/08/31 07:21 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki