User Tools

Site Tools


syntax:functions:log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syntax:functions:log [2016/06/20 11:44] dmitrysyntax:functions:log [2021/08/11 15:24] (current) – [Examples] craigt
Line 1: Line 1:
-===== Log(number) =====+====== Log(number) =====
 +Category:  Number function
  
-The natural logarithm of //number//.+\\  
 +=====Description===== 
 +This function returns the natural logarithm of //number//.
  
- Example   Result  +\\  
-log(2  0.693147180559945 |+=====Arguments===== 
 +^Argument^Type^Description
 +|number|Number (positive, non-0 value)|The value for which the natural logarithm is returned.| 
 +\\  
 +**Return value type:**  Number
  
 +\\ 
 +=====Examples=====
  
-=== See also === +  log(1) //Returns 0 
-  * [[syntax:functions:exp]] + 
-  * [[syntax:functions:pow]]+  log(2) //Returns 0.693147180559945 
 + 
 +  log(0) //Returns "#Can't convert infinity to a decimal number"  (Argument needs to be a positive, non-0 value.) 
 + 
 +\\  
 +===== See also ===== 
 +  * [[syntax:functions:exp|Exp(power)]] 
 +  * [[syntax:functions:pow|Pow(number, power)]]
syntax/functions/log.1466437448.txt.gz · Last modified: 2016/06/20 11:44 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki