Change percent_lost in capture-loss from a string to a double.