Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

This module provides an integer field formatter which outputs numbers with k as 1000 (thousand), m as million (1000000), b billion and t trillion. Being verbose there for anyone searching.

This is an implementation of the code found here so any fuzzy feelings or happy thoughts should be directed this-a-way:
http://stackoverflow.com/questions/4753251/how-to-go-about-formatting-12...

This module is for use in Harmony Forum project.

Here are some examples:

1000 => 1k
5821 => 5.8k
10500 => 10.5k
101800 => 101.8k
2000000 => 2m
7800000 => 7.8m
92150000 => 92.1m
123200000 => 123.2m
9999999 => 9.9m
2600000000 => 2.6b
1135060000000 => 1.1t

Activity

Total releases
1
First release
Mar 2025
Latest release
1 year ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
2.x-dev Dev Mar 22, 2025