Files
core/tests
Odin Ugedal 0668fba7bd Add support for logarithm in templates (#10824)
* Add support for logarithm in templates

This adds a 'log' filter that takes the logarithm of the given value,
with an optional base number. The base defaults to 'e' - the natural
logarithm

* Remove usage of log10 in template filter 'log'

* Add logarithm as a global

This makes it possible to write:
'{{ log(4, 2) }}'
2017-11-27 21:29:01 -08:00
..
2017-11-27 10:09:17 +01:00
2016-01-30 14:08:32 -05:00
2017-11-01 13:07:16 +01:00
2017-08-29 13:40:08 -07:00
2016-10-23 23:48:01 -07:00
2017-09-23 17:15:46 +02:00
2017-11-03 14:19:36 +01:00