Navigate
Home
ArticleWiki
Forum
Newsletter
Links
Tech News
Welcome Guest.
Username:

Password:

Remember me

log values
Welcome, Guest. Please login or register.
February 05, 2012, 04:50:41 AM
11513 Posts in 1262 Topics by 496 Members
Latest Member: Beerdernill
Experts Round Table Network  |  Clientside Technology  |  Javascript  |  log values « previous next »
Pages: [1]
Author Topic: log values  (Read 1193 times)
Johnny26652

Offline Offline

Posts: 61


« on: October 06, 2007, 12:33:41 PM »

is it possible to do calculations of natural logarithms in javascript?

like ln(0.85)*23 + 15 something like that


thanks
John
Logged

Johnny
GrandSchtroumpf
Mentor

Offline Offline

Posts: 432



« Reply #1 on: October 06, 2007, 04:11:56 PM »

http://www.javascriptkit.com/javatutors/math.shtml

Math.log(0.85) should return the natural log of 0.85

Cheers.
Logged
VGR
Mentor

Offline Offline

Posts: 724



WWW
« Reply #2 on: October 08, 2007, 12:29:07 PM »

you may also implement an approximative algorithm yourself. It's 20 line sof simple code. . Log and Ln are approximated anyway.
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Pages: [1]
« previous next »
    Jump to: