This module provides a formatter that removes trailing zeros from decimal and float fields. This allows for cleaner output, displaying numbers like 7.000 as simply 7.
Provides formatter that remove trailing zeros in decimal and float fields.
For instance, the number 7.000 will be output as: 7
Uses
1. Visit 'Manage display' tab of your content type.
2. Select 'Remove Trailing Zeros' format for your decimal or float field.
3. Click on the 'Save' button.
If you want to remove trailing zeros in a view, then select 'Remove Trailing Zeros' formatter in the fields settings.
Ask your assistant about Remove Trailing Zeros
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
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.