Upgraded to Rails3-style ERB blocks.
Replaced buggy "round_to_significant_digit" method with built-in Rails NumberHelper number_with_precision method.
Replaced buggy "round_to_significant_digit" method with built-in Rails
NumberHelper number_with_precision method, removing the library file
where the latter is defined.