math.Log
Returns the natural logarithm of the given number.
- Syntax
- math.Log VALUE
- Returns
- float64
Usage
The math.Log function returns the natural logarithm of the given number.
Examples
{{ math.Log 1 }} → 0
{{ math.Log 42 }} → 3.7376696182833684Last updated:
November 8, 2026
:
content: Remove categories from front matter (1cc1dd83a)
Improve this page