What is money_format Function?
PARAMETERS | DESCRIPTION |
"=f" Flag | Character f is used for padding, by default space is the fill character |
" " Flag | Disable the use of grouping characters |
"+ or (" Flag | Specify the formatting style for positive and negative numbers |
"!" Flag | Suppress the currency symbol from the output string |
"-" Flag | If present, it will make all fields left-justified |
"W" Flag | A decimal digit string specifying a minimum field width |
"#n" | The maximum number of digits (n) expected to the left of the decimal character |
".p" | A period followed by the number of digits (p) after the decimal character |
"i" | The number is formatted according to the locale's international currency format |
"n" | The number is formatted according to the locale's national currency format |
"%" | Returns the % character |