The round function in the float class does not provide a precision
feature, but you can do something like:
  (100*9.23234234234532).round/100.0

According to my benchmarks this is at least 1/3 faster than your
approach

Thomas