Formatted Number CCK

markus_petrux - November 4, 2008 - 13:38

The Formatted Number CCK 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.

Additional field formatters:

You can easily add additional formatters adding the following lines to your settings.php file:

<?php
// 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.

Releases

Official releasesDateSizeLinksStatus
6.x-1.32009-Sep-2017 KBRecommended for 6.xThis is currently the recommended release for 6.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Sep-2117.02 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.