This module provides a way to display file sizes in a human-readable format, like KB, MB, or GB, for numeric fields. It assumes the stored value represents bytes and converts it to the closest whole number for display.
This is a tiny module that provides a digital size formatter to core numeric field types: integer, float and decimal. The formatter assumes that the field value is stored as bytes. If the stored value is float or decimal, the formatter will convert that value to the closest integer. The formatter uses the standard Drupal format_size() function.
Ask your assistant about Digital Size Formatter
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.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.2.0 | Stable | 10–11 | Jul 8, 2024 |