# Revision history [back]

### Rounding the values of a mapping

The problem is only with the round(, 2) code

f(x)=round((1/add(votes_cand))*x,2)


### Rounding the values of a mapping

The problem is only with the round(, 2) code

f(x)=round((1/add(votes_cand))*x,2)


Is it possible to act ex-ante not expost in that case ?

### Rounding the values of a mapping

The problem is only with the round(, 2) code

f(x)=round((1/add(votes_cand))*x,2)

Is it possible This gives an error since round() couldn't be applied to act ex-ante a theoretical argument. The following code works but I want to obtain truncated to 2 digits percentages not expost in that case ?elements of Q