• Resolved craigaznmedia

    (@craigaznmedia)


    Hi –

    Where am I going wrong with this equation to try and get it to two decimal places:

    PREC(fieldname4+(fieldname6*8.50))

    Great plugin! Thanks, Craig

    The page I need help with: [log in to see the link]

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

    (@codepeople)

    Hello @craigaznmedia,

    You’ve forgotten the second parameter of the “PREC” operation:

    PREC(X,Y) returns the number X rounded with Y decimal places.

    So, the equation would be:

    PREC(fieldname4+fieldname6*8.50,2)

    and that’s all.
    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Decimals with PREC( )’ is closed to new replies.