Skip to content

Formats a number as a currency string with commas and two decimal places.

func.money_format(<num>)
func.money_format(1234567.89)
┌────────────────┐
│ '1,234,567.89' │
└────────────────┘
MONEY_FORMAT(<num>)
SELECT MONEY_FORMAT(1234567.89);
┌──────────────┐
│ 1,234,567.89 │
└──────────────┘