# Math.ln ## Function Natural logarithm. Returns the natural logarithm of value. ## Syntax ```bt Math.ln(value) ``` ## Parameters | Parameters | Type | Required | Default value | Description | | ------ | ------ | ------ | ------ | ------ | | value | Number | is | None | a true number. | ## Return value | Type | Description | | ------ | ------ | | Int/Float | Returns the natural logarithm of value. An Int is returned for integer results, and a Float for non-integer or non-finite results. | ## Example ```bt result = Math.ln(Math.E) // Output: 1 print result ``` ## Notes - When value is less than 0, NaN is returned according to f64 rules.