You are here

README.txt in Formatted Number 6

Same filename and directory in other branches
  1. 7 README.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Formatted Number CCK module for Drupal
;;
;; Original author: markus_petrux (http://drupal.org/user/39593)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CONTENTS OF THIS FILE
=====================
* OVERVIEW
* REQUIREMENTS
* INSTALLATION
* ADDITIONAL FORMATTERS


OVERVIEW
========

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.

Integrates with:
- Diff (http://drupal.org/project/diff)


REQUIREMENTS
============

- CCK (http://drupal.org/project/cck)
- Format Number API (http://drupal.org/project/format_number)


INSTALLATION
============

- Please, make sure all required modules are installed first.

- Copy all contents of this package to your modules directory preserving
  subdirectory structure.

- Goto Administer > Site building > Modules to install this module.

- Create or edit content types and start adding Money fields. :)


ADDITIONAL FORMATTERS
=====================

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

<code>
// 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);
</code>

File

README.txt
View source
  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;; Formatted Number CCK module for Drupal
  3. ;;
  4. ;; Original author: markus_petrux (http://drupal.org/user/39593)
  5. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  6. CONTENTS OF THIS FILE
  7. =====================
  8. * OVERVIEW
  9. * REQUIREMENTS
  10. * INSTALLATION
  11. * ADDITIONAL FORMATTERS
  12. OVERVIEW
  13. ========
  14. The Formatted Number CCK module defines numeric types where thousands separator
  15. and decimal point are inherited from the Format Number API module.
  16. Numeric types supported: signed or unsigned integers (tiny, small, medium, int),
  17. decimal and float.
  18. Integrates with:
  19. - Diff (http://drupal.org/project/diff)
  20. REQUIREMENTS
  21. ============
  22. - CCK (http://drupal.org/project/cck)
  23. - Format Number API (http://drupal.org/project/format_number)
  24. INSTALLATION
  25. ============
  26. - Please, make sure all required modules are installed first.
  27. - Copy all contents of this package to your modules directory preserving
  28. subdirectory structure.
  29. - Goto Administer > Site building > Modules to install this module.
  30. - Create or edit content types and start adding Money fields. :)
  31. ADDITIONAL FORMATTERS
  32. =====================
  33. You can easily add additional formatters adding the following lines to your
  34. settings.php file:
  35. // Additional formatters for fixed number of decimal places.
  36. $conf['formatted_number_decimal_place_formatter_lengths'] = array(0, 1, 2);
  37. // Additional formatters for fixed number of significant figures.
  38. $conf['formatted_number_significant_figure_formatter_lengths'] = array(1, 2, 3, 4);