• Resolved ChrisSommer

    (@chrissommer)


    How can I round to x.xx like 1.23 ?

    When I enter 6 in field and output 6 x 0.1 in another, it creates 0.600000000001
    thankx

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @chrissommer,

    You should use the “PREC” operation as the outermost operation in the equation. The “PREC” operation requires two parameter: PREC(X,Y) it rounds the number X with Y decimal places.

    So, assuming your equation is: fieldname1*fieldname2, you simply should edit it as follows:

    
    PREC(fieldname1*fieldname2, 2)
    

    and that’s all.
    Best regards.

    Thread Starter ChrisSommer

    (@chrissommer)

    works fine now, thank you! please mark as solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Round 2 deximal digits’ is closed to new replies.