Rounding off two decimals

Hi my name is Kim and I would like to what is
6,9763 rounded of to 2 decimal places

Hi Kim,

To round a number to two decimal places in CommCare, you can use this formula:

round(#form/value * 100) div 100

In your case, replace #form/value with 6.9763. The formula will look like this:

round(6.9763 * 100) div 100

For more details, you can refer to this document: Calculations in Hidden Values.

Best,
Aashima

1 Like