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