79348882

Date: 2025-01-11 21:05:58
Score: 0.5
Natty:
Report link

Try this and it should help you out.

For the column add the valueFormatter property

{
headerName: "Earned", field: "revenue", sortingOrder: ['asc', 'desc'], valueFormatter: currencyFormatter
}

Use this function for the formatting

function currencyFormatter(params) {
    var usd = new Intl.NumberFormat('en-US', {
        style: 'currency',
        currency: 'USD',
        minimumFractionDigits: 2
    });

    return usd.format(params.value);
}

The output

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Harold Noble Bright