import kotlin.math.log10val number = 1000.0val result = log10(number)//result is 3.0println("result is $result")