Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is the function for taking the log of x?! 1

Status
Not open for further replies.

kanin247

Programmer
Apr 23, 2001
113
US
I need the function for taking the log of x. I know that math.log(x) gives me the natural log of x but i need to know the one that gives me just the log of x. I searced in math function properties but could not find anything. Any help would be greatly appreciated. Thanks.

~kanin
 
There is a very simple way to convert a natural log to a base 10 log, but I can't remember what it is. Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
To convert a natural log to a base 10 log you use the following equation:

math.log(x)/math.ln10

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top