You are here

function formatted_number_init in Formatted Number 6

Implementation of hook_init().

File

./formatted_number.module, line 67
Defines CCK numeric types where thousands separator and decimal point are inherited from the Format Number API module.

Code

function formatted_number_init() {
  if (module_exists('diff')) {
    module_load_include('inc', 'formatted_number', 'includes/formatted_number.diff');
  }
  if (module_exists('token')) {
    module_load_include('inc', 'formatted_number', 'includes/formatted_number.token');
  }
}