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

    How do i round up to the nearest 2nd decimal place?

    Asked by wyong on November 29, 2016 at 09:51 PM

    Hi there,

     

    I need to do some rounding up of numbers to the nearest 2nd decimal place.

    Example $2.51111111 will round up to $2.52.

    I've tried using the CEIL function but it round up to the nearest whole number.

     

    Thanks

     

    decimal how how do i round up
  • Profile Image
    JotForm Support

    Answered by BJoanna on November 30, 2016 at 02:52 AM

    Are you performing calculation inside of your form and you want to round your calculation to 2 decimal places?

    To achieve this you need to set your calculation field to show 2 decimal places in result. 

    This will round up to closest number. For example 2.51111111 will be rounded to 2.51.

    Ceil math function will always round numbers to whole number.

    Is far as I know it is not possible to round them up to nearest 2nd decimal place.

     

    Feel free to contact us if you have any other questions.