       widget.on "df:range:change", (value, range) ->
         value.start.should.equal 100
         value.end.should.equal 1000
-        range.min.should.equal 7.900000095367432
-        range.max.should.equal 2360.0
+        range.min.should.equal 7.9
+        range.max.should.equal 1687
         done()
       widget.render rangeFacetResponse()
 

      widget = createWidget()
      widget.on "df:widget:render", (res) ->
        (($ ".noUi-tooltip").item 0).html().should.equal "7.9"
        (($ ".noUi-tooltip").item 1).html().should.equal "1687.04"
        ($ ".noUi-value[data-value^='7.9']").length.should.equal 1
        ($ ".noUi-value[data-value='2360']").length.should.equal 1
        done()
      widget.render rangeFacetResponse()


      widget = createWidget format: (value) -> "$#{value.toFixed 3}"
      widget.on "df:widget:render", (res) ->
        (($ ".noUi-tooltip").item 0).html().should.equal "$7.900"
        (($ ".noUi-tooltip").item 1).html().should.equal "$1687.000"
        ($ ".noUi-value[data-value^='7.9']").html().should.equal "$7.900"
        ($ ".noUi-value[data-value='1687']").html().should.equal "$1687.000"
        done()
      widget.render rangeFacetResponse()

