Base-10 logarithm
Basic types / Numbers / Mathematical operations
Exponentiation
Square root
Minimum and maximum
Logarithm
Base-10 logarithm
Sine, cosine and tangent
number =
1000
result = Math::
log10
(number)
# result is 3.0
puts
"result is
#{result}
"
Languages
Python
C
C++
Java
C#
JavaScript
R
Rust
Golang
Delphi
PHP
Swift
Kotlin
Lua
TypeScript
Clojure
Bash
Objective-C