%lf and %0lf for min=None, max=None and min=None, max!=None