Missing precision parameter in Round

OS info

  • Operating System : Windows 10.0.19044
  • Wappler Version : 4.7.3

Problem description

Round formatter is not consistent. In AppConnect, there is a Precision parameter, but not in ServerConnect.

APPCONNECT

SERVERCONNECT

2 Likes

I’ve run across the same problem, trying to calculate sales tax in a server connect, and it will only round to integer. Did you ever find a work around for this?

Yes, I use:

(amount * sales_tax_rate * 100).round()/100