Support » Plugin: Calculated Fields Form » integer number

  • Resolved nassimbjf

    (@nassimbjf)


    Hi , I want the result to be integer and to choose the biggest number for example if result was 3.2 I want to become 4 how an I do it?

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @nassimbjf

    You simply should to use the CEIL operation. CEIL(X) returns the integer number equal or greater than X. For example, if your equation is: fieldname1*fieldname2, you should edit it as follows:

    
    CEIL(fieldname1*fieldname2)
    

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘integer number’ is closed to new replies.