What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Natural Logarithm calculation with decimal point

    Asked by GBCInc on July 09, 2016 at 07:51 PM

    Hello,

    I see that you have a Natural Log function here:  http://www.jotform.com/form-templates/get-logarithm-log-form

    However it looks like it is calculated to 2 decimal places only and was an excellent volunteer effort by user Elton Cris:

    http://www.jotform.com/form-templates/user/EltonCris

    I appreciate the effort by this user and dont want to burden him so is there a way i could get advice on how i could modify this template with his permission so i may extend this to 10 decimal places?  Please let me know.  I am trying to use it in a medical form which needs a higher level of precision.

    Alternately, it looks like the template above is part of your calculation widget's log() function.  Would there be a way to extend that function to 10 digits?  Thank you!

    Page URL:
    https://www.jotform.com//?formID=61767311782157

    natural logarithm calculation decimal point
  • Profile Image
    JotForm Support

    Answered by Chriistian on July 09, 2016 at 11:29 PM

    Hi,

    Yes, it is possible to extend the result to 10 digits. First, use the template and follow the steps below.

     

    The result should be as follows.

     

    You can check and clone my form here: https://form.jotform.com/61909002953960. Please see How to clone an existing form from a URL for more details.

  • Profile Image

    Answered by GBCInc on July 10, 2016 at 01:36 AM

    Hello,

     

    Thank you so much.  We used the ption you mentioned for other fields but are unable to do so for some CONDITONAL fild.  It looks like the problem is only with conditional fields or we are not able to find the place to change the decimals.  Can you please look at this example and advise?  If we have to change code, i am happy to try it!

     

    https://form.jotform.com/61910853605152

  • Profile Image

    Answered by GBCInc on July 10, 2016 at 03:00 AM

    We think we figured it out now.  Please see beow on what we did, so everyone benefits:

    Create the Condition with the Calculated Field and click on the three dots near the bottom right:

    You will see the following screen. Select the Log() function for Natural Logarithm and click Options:

    On the Options screen, you can increase the decimals to 10:

  • Profile Image
    JotForm Support

    Answered by Nik_C on July 10, 2016 at 05:36 AM

    I'm sorry but we are unable to see that images you uploaded, please refer to this guide on how to insert pictures in the thread.

    Please try again.

    Thank you!

  • Profile Image

    Answered by GBCInc on July 10, 2016 at 02:57 PM

    Sure thing--here is a single image that covers the process:

     

    https://cms.jotform.com/uploads/image_upload/image_upload/GBCInc/37702_NaturalLog.png

    raja

  • Profile Image
    JotForm Support

    Answered by Mike on July 10, 2016 at 05:49 PM

    The screenshot has been received. Thank you for sharing your solution.