Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

precision modifier

No security coverage Under active development 70 sites

This module allows administrators to modify the precision and scale of decimal fields on content types, even after data has been added. This enables greater control over how numbers are stored and displayed.

Precision Modifier

This module allows site builders change precision and scale values of node fields of type decimal the have data associated with them.

Usage

Once the module has been downloaded and enabled, the following steps are required in order to change the
precision and scale of a field of type decimal:

  • select the manage fields operation of the desired content type
  • select the edit operation for the desired decimal field with data associated to it.
  • select the 'Field Settings' tab for the selected field. (The option to convert precision and scale for the field is made available if the decimal field selected has data associated with it.)
  • check the checkbox (Enable precision increment)
  • from the available drop downs select the desired precision and scale
  • save the field settings

Note:

  1. As you change the precision and scale of a field that has data associated to it, be aware it can cause some loss of precision.
  2. Precision is the total number of significant digits in the number and scale is the total number of digits to the right
    of the decimal point. For example, 123.4567 has a precision of 7 and a scale of 4. More information can be found
    here
Drupal 10 · not 11

Ask your assistant about precision modifier

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • node Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jul 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.0 Stable 10 Jul 22, 2024
2.0.x-dev Dev 10 Jul 21, 2024