<div class="meta" robots="noindex">

</div>

Method

# Xojo.Math.Log

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2020r2. Please use `Log</api/math/log>` as a replacement.

</div>

## Description

Returns the natural logarithm of the specified value.

## Sample code

Log 10:

``` xojo
Using Xojo.Math

Dim d As Double
d = Log(10) ' d = 2.3025851
```

## Compatibility

All project types on all supported operating systems.
