function format_number_get_thousands_separator_options in Format Number API 7
Same name and namespace in other branches
- 6 format_number.module \format_number_get_thousands_separator_options()
Get thousands separator options.
See also
http://www.unicode.org/cldr/data/charts/by_type/number.symbol.html
4 calls to format_number_get_thousands_separator_options()
- format_number_site_settings_form in ./
format_number.settings.inc - Module settings form.
- format_number_user_settings_form in ./
format_number.settings.inc - User settings form.
- format_number_variable_info in ./
format_number.variable.inc - Implements hook_variable_info().
- parse_formatted_number in ./
format_number.module - Parse a formatted number.
File
- ./
format_number.module, line 105 - This module provides a method to configure number formats (site default and user defined) with configurable decimal point and thousand separators. It also exposes several functions that can be used by other contributed or custom modules to display…
Code
function format_number_get_thousands_separator_options() {
return array(
'' => t('none'),
"." => t('full stop (.)'),
"," => t('comma (,)'),
"'" => t("apostrophe (')"),
" " => t('no-break space ( )'),
"," => t('full width comma (,)'),
"٬" => t('arabic thousands separator (٬)'),
"ወ" => t('ethiopic syllable wa (ወ)'),
);
}