Format Number API

markus_petrux - November 2, 2008 - 13:39
number_format_settings.png

The Format Number API module provides a method to configure number formats (site default and user defined) with configurable decimal point and thousand separators.

Several functions are exposed by the module that can be used by other contributed or custom modules to display numbers accordingly, from PHP and JavaScript as well. For further information, please see the README.txt.

This module does not add any other functionality by itself, rather it might be required by other contributed or custom modules. Modules using this API: Cache browser, Formatted Number CCK, Money CCK field, Referential Integrity for CCK.

External references:
- PHP manual: number_format().
- Unicode Locale Data Markup Language (LDML).
- Unicode CLDR Project: Common Locale Data Repository (CLDR).
- CLDR By-Type Chart: number.symbol.
- Wikipedia: Decimal separator.

Releases

Official releasesDateSizeLinksStatus
6.x-1.52009-Sep-2013.79 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Sep-2013.8 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.