ln(...)

ln(...)

Returns the natural log of a number

Works with the following datatypes:

This function works with 2.1 endpoint(s). What does this mean? »

The ln(...) function returns the natural log of a number or set of numbers (Numbers). For example, to fetch the natural log of salaries for 5 employees in the City of Chicago whose salaries are greater than or equal to 1:

https://data.cityofchicago.org/resource/tt4n-kn4t.json?$select=ln(annual_salary)&$where=annual_salary>=1&$limit=5