Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> web >> node-bignumber
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: bignumber.js  ]

软件包: node-bignumber (9.0.0+ds-2)

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
    evented I/O for V8 javascript - runtime executable
    同时作为一个虚包由这些包填实: node-pegjs

下载 node-bignumber

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 53.9 kB301 kB [文件列表]