anchor.diff:      ?assertEqual(1.08, float_round(1.0800099)),
       ok.
   
  +deltas_test() ->
  +    ?assertEqual([], deltas([])),
  +    ?assertEqual([], deltas([10])),
  +    ?assertEqual([0], deltas([10, 10])),
  +    ?assertEqual([0, 0], deltas([10, 10, 10])),
  +    ?assertEqual([0, 0, 0],
  +                 deltas([10, 10, 10, 10])),
  +    ?assertEqual([0, 1, 1],
  +                 deltas([10, 10, 11, 12])),
  +    ?assertEqual([0, 1, 1, 0],
  +                 deltas([10, 10, 11, 12, 12])),
  +    ok.
  +
   -endif.
   
  
positive.code: 
  float_round(X) -> float(trunc(1000.0 * X)) / 1000.0.
  
  -ifdef(EUNIT).
  
  test() ->
  
negative.code:                                proplists:get_value("get_hits", Samples5),
                                 proplists:get_value("cmd_get", Samples5))} |
                  Samples5],
      Samples7 = lists:map(fun({t, Vals}) -> {t, Vals};
                              ({K, Vals}) -> {K, deltas(Vals)}
                           end,
                           Samples6),
      {ok, SamplesInterval, LastSampleTStamp, Samples7}.
  
  build_bucket_stats_ops_response(PoolId, BucketId, Params) ->
      {ok, SamplesInterval, LastSampleTStamp, Samples2} =
  