log
Get the logarithmic value of a number.
Sample Usage
{{ tower_height|log }}
{{ tower_height|log:6 }}
These will output the natural logarithm of the tower_height
variable’s value, and the logarithm base 6 of the tower_height
variable’s value, respectively.
Parameters
This modifier has one optional parameter, the base to use for your log
calculation.
This modifier will display the natural logarithm if this parameter is not included.