Approximate a calculation to two decimals

Hi, I'm making some calculations in my form, and I'm wondering if there is any way to approximate a calculation to two decimals?

Hola, estoy haciendo algunos cálculos en mi formulario, y me pregunto si hay alguna forma de aproximar un calculo a solo decimales?


Hi @Oscar_Orlando

Yes there is function to round off to any preferred decimal places.

calculate="round(/data/q1, 3)"

You can get more info:

Here is an example form round.xls (20 KB)

1 Like

Thanks men. It worked me totally.

1 Like