--- title: "log10" excerpt: "Computes the base 10 logarithm of the number." layout: manual --- Computes the base 10 logarithm of the number. ```js log10(num: number) -> number ``` ### Tags * `math` ### Examples ```js const myVar = log10(4) ``` ### Arguments * `num`: `number` (REQUIRED) ### Returns `number`