Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 9.79 KB
MD5: e81be094b6a60d862ef81ff8d709d8ee
SHA-1: e8e29479cc47ac4e0b22184ef045f42004ea9383
SHA-256: 5e1e71ffa60eae7accbd8cf0c1e6c4461704fa421a445ce65526de203a8479af
Download zip 13.07 KB
MD5: 4699924b61e0a593071c054f3d523418
SHA-1: c42aa4ae3c121445e063fe405a6b39ab92428f43
SHA-256: 7ddb195928ad6d0082043c0548a3fdb920f3c9b8bc9f1e251b31da127b00f5f2

Release notes

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
Created by: mwebaze
Created on: 2 Apr 2019 at 12:29 UTC
Last updated: 2 Apr 2019 at 12:33 UTC
New features

Other releases