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

    (@codepeople)

    Hi,

    Use the operacion “prec” (for precision). In the operation “prec”, the second parameter is the decimal places, for example:

    prec(2.342,2) would be 2.34

    If your current equation is fieldname1*fielname2 (it is a hypothetical equation), you only should to modify it like follow:

    prec(fieldname1*fieldname2,2)

    In case to prefer three decimal places in the result:

    prec(fieldname1*fieldname2,3)

    Best regards.

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