Fix float problems with metric data