content/flux/v0/stdlib/math/log10.md
math.log10() returns the decimal logarithm of x.
(x: float) => float
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) Value to operate on.
import "math"
math.log10(x: 3.14)// 0.4969296480732149
import "sampledata"
import "math"
sampledata.float()
|> map(fn: (r) => ({r with _value: math.log10(x: r._value)}))