+ 1

How to do logarithms in coding?

Hey coding brothers, now I'm creating a calculator in Ruby, but I don't know how to do logarithms... Please, help me!

29th Apr 2018, 5:58 PM
GreekPi
GreekPi - avatar
2 Answers
+ 5
a=Math::log(100); puts a #2
29th Apr 2018, 6:13 PM
᠌᠌Code X
᠌᠌Code X - avatar