Formatted Number
Categories
Component ID
329934
Component name
Formatted Number
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
30363
Component created
Component changed
Component body
Overview
The Formatted Number module defines numeric types where thousands separator and decimal point are inherited from the Format Number API module.
Numeric types supported: signed or unsigned integers (tiny, small, medium, int), decimal and float.
Builtin integration support for: Views, Diff, Token.
Maintained by kenorb and cweagans.
Additional field formatters
You can easily add additional formatters adding the following lines to your settings.php
file:
// Additional formatters for fixed number of decimal places.
$conf['formatted_number_decimal_place_formatter_lengths'] = array(0, 1, 2);
// Additional formatters for fixed number of significant figures.
$conf['formatted_number_significant_figure_formatter_lengths'] = array(1, 2, 3, 4);
Be sure to rebuild your theme registry after changing these options.
How can you get involved?
- Write a review for this module on drupalmodules.com
- Help translate this module at localize.drupal.org