Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> web >> node-bignumber
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: bignumber.js  ]

套件: node-bignumber (1.3.0+dfsg-1)

Arbitrary-precision decimal and non-decimal arithmetic for Node.js

Features:

   - Faster, smaller, and perhaps easier to use than Javascript versions of
     Java's BigDecimal
   - 5 KB minified and gzipped
   - Simple API but full-featured
   - Works with numbers with or without fraction digits in bases from 2 to 36
     inclusive
   - Replicates the toExponential, toFixed, toPrecision and toString methods of
     Javascript's Number type
   - Includes a toFraction and a squareRoot method
   - Stores values in an accessible decimal floating point format
   - No dependencies
   - Comprehensive documentation and test set

If an even smaller and simpler library is required see big.js. It's half the size but only works with decimal numbers and only has half the methods. It neither allows NaN or Infinity, or have the configuration options of this library.

This package provides bignumber support to Node.js.

其他與 node-bignumber 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: nodejs (>= 0.6.19~dfsg1-3~)
    evented I/O for V8 javascript

下載 node-bignumber

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 1,259.6 kB3874 kB [文件列表]