function format_number_get_decimal_point_options in Format Number API 6
Same name and namespace in other branches
- 7 format_number.module \format_number_get_decimal_point_options()
Get decimal point options.
See also
http://www.unicode.org/cldr/data/charts/by_type/number.symbol.html
3 calls to format_number_get_decimal_point_options()
- format_number_settings_site in ./
format_number.settings.inc - Module settings form.
- format_number_settings_user in ./
format_number.settings.inc - User settings form.
- parse_formatted_number in ./
format_number.module - Parse a formatted number.
File
- ./
format_number.module, line 80 - 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_decimal_point_options() {
return array(
"." => t('full stop (.)'),
"," => t('comma (,)'),
"٫" => t('arabic decimal separator (٫)'),
);
}