# File lib/thinking_sphinx/float_formatter.rb, line 10 def fixed return float.to_s unless exponent_present? ("%0.#{decimal_places}f" % float).gsub(/0+$/, '') end