log base 10

Discussion in 'AutoCAD' started by James Allen, Jul 1, 2004.

  1. James Allen

    James Allen Guest

    I really ought to know this, but...
    (log <number>) returns the natural log (log base 2.718...) of <number>,
    but how do I get log base ten in autolisp?
    Just drawing a blank.
     
    James Allen, Jul 1, 2004
    #1
  2. James Allen

    James Allen Guest

    Nevermind.

    log(10)x = log(e)x/log(e)10

    duh...

    thanks
     
    James Allen, Jul 1, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.