Name
localeconv
Synopsis
array localeconv()
Returns an associative array of information about the current locale’s numeric and monetary formatting. The array contains the following elements:
| Decimal-point character |
| Separator character for thousands |
| Array of numeric groupings; indicates where the number should be separated using the thousands separator character |
| International currency symbol (e.g., USD) |
| Local currency symbol (e.g., $) |
| Decimal-point character for monetary values |
| Separator character for thousands in monetary values |
| Sign for positive values |
| Sign for negative values |
| International fractional digits |
| Local fractional digits |
|
|
|
|
|
|
|
|
|
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access