I need to round a number to two decimal places. Right now the following rounds to the nearest integer I guess

```
puts [expr {round($total_rate)}]
```

If I do something like below it does not work. Is there another way around?

```
puts [expr {round($total_rate,2)}]
```

## comments:

`proc tcl::mathfunc::roundto {value decimalplaces} {expr {round(10**$decimalplaces*$value)/10.0**$decimalplaces}}; expr {roundto($total_rate, 2)}`