Package: coreutils Version: 9.1-1 Severity: wishlist File: /usr/bin/numfmt Tags: upstream
In India it is common to write large numbers using combinations of "lakh" / "L" (10⁷) and "crore" / "cr" (10⁵). https://en.wikipedia.org/wiki/Lakh https://en.wikipedia.org/wiki/Crore For example, According to […] ₹15.3 lakh crore of the ₹15.41 lakh crore in demonetised bank notes, […] — https://en.wikipedia.org/wiki/2016_Indian_banknote_demonetisation When I try to convert these to SI units in my head, I always mess up. Could numfmt handle this for me? Something like this (my maths might be wrong!): $ numfmt --from=auto --to=लाख 15.3T 15.3 lakh crore $ numfmt --from=auto --to=लाख 1.2G 120 crore $ numfmt --from=auto --to=लाख 1.2M 12 lakh $ numfmt --from=लाख --to=si 12 lakh 1.2M $ numfmt --from=लाख --to=si 15.3 lakh crore 15.3T -- System Information: Debian Release: 12.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-13-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages coreutils depends on: ii libacl1 2.3.1-3 ii libattr1 1:2.5.1-4 ii libc6 2.36-9+deb12u3 ii libgmp10 2:6.2.1+dfsg1-1.1 ii libselinux1 3.4-1+b6 coreutils recommends no packages. coreutils suggests no packages. -- no debconf information