libjs-d3-format - Formatting numbers for human consumption - browser library

Property Value
Distribution Debian 10 (Buster)
Repository Debian Main amd64
Package filename libjs-d3-format_1.0.2-3.1_all.deb
Package name libjs-d3-format
Package version 1.0.2
Package release 3.1
Package architecture all
Package type deb
Category javascript
License -
Maintainer Ximin Luo <>
Download size 12.98 KB
Installed size 57.00 KB
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.


Package Version Architecture Repository
libjs-d3-format_1.0.2-3.1_all.deb 1.0.2 all Debian Main
libjs-d3-format - - -


Type URL
Binary Package libjs-d3-format_1.0.2-3.1_all.deb
Source Package d3-format

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libjs-d3-format deb package:
    # sudo apt-get install libjs-d3-format




2019-06-08 - Balint Reczey <>
d3-format (1:1.0.2-3.1) unstable; urgency=medium
* Non-maintainer upload (Closes: #929617)
- Bumping the version to over 1:1.0.2-3 because 1.0.2-3 was used by
2017-10-09 - Ximin Luo <>
d3-format (1:1.0.2-1) unstable; urgency=medium
* Take back my package, thank you very much.
* Remove from team maintenance.
2016-11-21 - Ximin Luo <>
d3-format (1.0.2-2) unstable; urgency=medium
* Use debhelper compat level 10.
* Correct binary packages from arch:any to arch:all.
* Use node-tap to run tests, instead of node-tape.
2016-11-19 - Ximin Luo <>
d3-format (1.0.2-1) unstable; urgency=medium
* Initial release. (Closes: #844784)

See Also

Package Description
libjs-d3-tip_0.7.1-1_all.deb Tooltips for d3.js visualizations
libjs-d3_3.5.17-2_all.deb JavaScript visualization library for HTML and SVG
libjs-dateformat_3.0.0-1_all.deb JavaScript Date Format - browser module
libjs-debug_3.1.0-2_all.deb small debugging utility
libjs-debugger_0.5-4_all.deb a console logger for debugging JavaScript
libjs-diff-match-patch_20121121-2_all.deb diff/match/patch algorithms implemented in JavaScript
libjs-dojo-core_1.14.2+dfsg1-1_all.deb modular JavaScript toolkit
libjs-dojo-dijit_1.14.2+dfsg1-1_all.deb modular JavaScript toolkit - Dijit
libjs-dojo-dojox_1.14.2+dfsg1-1_all.deb modular JavaScript toolkit - DojoX
libjs-dropzone_5.5.0+dfsg-2_all.deb JavasScript library providing Dropzone
libjs-edit-area_0.8.2-1_all.deb a free javascript editor for source code
libjs-elycharts_2.1.5+ds-3_all.deb Javascript library to generate static and interactive charts
libjs-emojify_1.1.0+dfsg-2_all.deb JavaScript library converting Emoji keywords to images
libjs-emojione_2.2.6-2_all.deb Open source emoji set (javascript part)
libjs-eonasdan-bootstrap-datetimepicker_4.17.47-3_all.deb Date/time picker widget based on twitter bootstrap