Module Description
Converting a field with data associated to it from an integer to a decimal is not currently supported in Drupal for obvious reasons. This module will allow site builders to convert node fields of type integer with data associated with them to type decimal while maintaining the data integrity. Another similar module worth considering is Precision Modifier
How to use Integer to Decimal module
Once the module has been downloaded and enabled, the following steps are required in order to convert an integer field with data associated to it to a decimal field:
* select the manage fields operation of the desired content type
* select the edit operation for the desired integer field with data associated to it.
* select the 'Field Settings' tab for the selected field. (The option to convert from integer to decimal is only available if the field selected has data associated with it.)
* check the checkbox (Enable integer to decimal conversion)
* from the available drop downs select the desired precision and scale
* save the field settings
Roadmap
This module currently supports field types associated with nodes, but we plan to support integer-to-decimal conversion of fields on other entity types as well.
How to use Integer to Decimal module
Once the module has been downloaded and enabled, the following steps are required in order to convert an integer field with data associated to it to a decimal field:
* select the manage fields operation of the desired content type
* select the edit operation for the desired integer field with data associated to it.
* select the 'Field Settings' tab for the selected field. (The option to convert from integer to decimal is only available if the field selected has data associated with it.)
* check the checkbox (Enable integer to decimal conversion)
* from the available drop downs select the desired precision and scale
* save the field settings
Roadmap
This module currently supports field types associated with nodes, but we plan to support integer-to-decimal conversion of fields on other entity types as well.
Module Link
Project Usage
139
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of converting node fields from type integer to type decimal while maintaining data integrity.
Data Name
integer_to_decimal