log10

Common
fun log10(x: Double): Double
fun log10(x: Float): Float

Computes the common logarithm (base 10) of the value x.

Since Kotlin

1.2

See also

ln

function for special cases.

inline fun log10(x: Double): Double
inline fun log10(x: Float): Float

Computes the common logarithm (base 10) of the value x.

Since Kotlin

1.2

See also

ln

function for special cases.

JS
inline fun log10(x: Double): Double
inline fun log10(x: Float): Float

Computes the common logarithm (base 10) of the value x.

Since Kotlin

1.2

See also

ln

function for special cases.

Native
external fun log10(x: Double): Double
external fun log10(x: Float): Float

Computes the common logarithm (base 10) of the value x.

Since Kotlin

1.2

See also

ln

actual function for special cases.