# Rounding the values of a mapping

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

code

```
f(x)=round((1/add([10, 20 ,30]))*x,2)
percent_votes_cand=list(map(f,[10, 20 ,30]))
percent_votes_cand
```

This gives an error since `round()`

couldn't be applied to a theoretical argument. The following code works but I want to obtain truncated to 2 digits percentages not elements of Q

Can you say what result you get and what result you would prefer to get?

Slelievre, I have corrected my question.