add floatformat to duration