added to_f to make .round method work on heroku