WordPress.org

Ready to get started?Download WordPress

Forums

Calculated Fields Form
[resolved] Logarithm isn't working ? (3 posts)

  1. radojica
    Member
    Posted 1 year ago #

    When I tried to calculate log(10) I get

    2.302585092994046

    instead of

    1

    and that's ln(10) not log.

    Can it be fixed somehow ?

    Thanks!

    http://wordpress.org/extend/plugins/calculated-fields-form/

  2. radojica
    Member
    Posted 1 year ago #

    sorry that I asked...I changed my formula since

    log(x)=ln(x)/ln(10).

    Just you should change it in plugin to ln instead log

  3. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    In javascript, the log() method of Math object, returns the natural logarithm (base E) of a number. If you want the log(10), then set the following text as part of equation:

    LOG10E

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.