log10 log10(a: Number): Number | NaN Returns the logarithm base 10 of a number. Introduced in DataWeave version 2.4.0. Parameters Name Description a A Number value that serves as input to the function. Example This example shows how log10 behaves with different inputs. Source %dw 2.0 import * from dw::util::Math output application/json --- { "log1010": log10(10), "log1013": log10(0.13), "log10-20": log10(-20) } Output { "log1010": 1.0, "log1013": -0.8860566476931632, "log10-20": null }