How to Install and Uninstall libjs-d3-format Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 29,2024

1. Install "libjs-d3-format" package

Learn how to install libjs-d3-format on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libjs-d3-format

2. Uninstall "libjs-d3-format" package

This tutorial shows how to uninstall libjs-d3-format on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libjs-d3-format $ sudo apt autoclean && sudo apt autoremove

3. Information about the libjs-d3-format package on Ubuntu 21.04 (Hirsute Hippo)

Package: libjs-d3-format
Architecture: all
Version: 1:1.4.1-3
Multi-Arch: foreign
Priority: extra
Section: universe/web
Source: d3-format
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 93
Recommends: javascript-common
Filename: pool/universe/d/d3-format/libjs-d3-format_1.4.1-3_all.deb
Size: 16960
MD5sum: 945b88b3fef44e0e8d493c5c12442331
SHA1: 96c5592d3e29f9d6284551fba270498beeaab49c
SHA256: d87aebafd1425229c66a9b12cf0dffa5929f9eb3276af1438f7d59e12aff3886
SHA512: 515604bd1872d25f3f9bdfa43142c1c1cba8a44ea259220282a62e145854797777e93bd37be69d89cc609c41ffec7838b17e89a2aa616d65eec993ce00b43989
Homepage: https://github.com/d3/d3-format
Description-en: Formatting numbers for human consumption - browser library
Sometimes JavaScript doesn’t display numbers the way you expect. For example,
printing tenths with a naive simple loop might give you 0, 0.1, 0.2,
0.30000000000000004, 0.4, 0.5, 0.6000000000000001, 0.7000000000000001, 0.8,
0.9 - welcome to binary floating point!
.
Yet rounding error is not the only reason to customize number formatting. A
table of numbers should be formatted consistently for comparison; above, 0.0
would be better than 0. Large numbers should have grouped digits (e.g.,
42,000) or be in scientific or metric notation (4.2e+4, 42k). Currencies
should have fixed precision ($3.50). Reported numerical results should be
rounded to significant digits (4021 becomes 4000). Number formats should
appropriate to the reader’s locale (42.000,00 or 42,000.00). The list goes on.
.
Formatting numbers for human consumption is the purpose of d3-format, which is
modeled after Python 3’s format specification mini-language (PEP 3101).
.
This package contains the plain JS library as well as a minified version.
Description-md5: 45e7d5a381040f0771b3f2d94287ffd7