(value)
return locale.format('%d', float(value), grouping=True)
Format a number with commas.
Format a number with commas.
Format a number with commas .
def comma(value):
    """
    Format a number with commas.
    """
    return locale.format('%d', float(value), grouping=True)
def comma ( value ) : return locale . format ( '%d' , float ( value ) , grouping = True )