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 |
|
|
|
|
|
|
|
|
|
|
|
|
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.