bignumber.js

Phần mềm chụp màn hình:
bignumber.js
Các chi tiết về phần mềm:
Phiên bản: 2.1.0 Cập nhật
Ngày tải lên: 10 Dec 15
Nhà phát triển: Michael McLaughlin
Giấy phép: Miễn phí
Phổ biến: 41

Rating: nan/5 (Total Votes: 0)

bignumber.js has support for a series of mathematical operations, all natively supported with JavaScript, but when computed with this library providing a higher degree of accuracy.

All calculations with bignumber.js are quite fast and thanks to its core written in ECMAScript 3, the library can be used on all sorts of ancient devices and browsers.

Documentation is included with the library, to get developers started on their own projects.

bignumber.js works with client-side (browsers) and server-side (Node.js) environments.

A lighter version of bignumber.js with lesser methods is also available as big.js.

What is new in this release:

  • Add dividedToIntegerBy, isInteger and toFormat methods.
  • Remove the following short-forms: isF, isZ, toE, toF, toFr, toN, toP, toS.
  • Store a BigNumber's coefficient in base 1e14, rather than base 10.
  • Add fast path for integers to BigNumber constructor.
  • Incorporate the library into the online documentation.

What is new in version 2.0.7:

  • Add dividedToIntegerBy, isInteger and toFormat methods.
  • Remove the following short-forms: isF, isZ, toE, toF, toFr, toN, toP, toS.
  • Store a BigNumber's coefficient in base 1e14, rather than base 10.
  • Add fast path for integers to BigNumber constructor.
  • Incorporate the library into the online documentation.

What is new in version 2.0.3:

  • Add dividedToIntegerBy, isInteger and toFormat methods.
  • Remove the following short-forms: isF, isZ, toE, toF, toFr, toN, toP, toS.
  • Store a BigNumber's coefficient in base 1e14, rather than base 10.
  • Add fast path for integers to BigNumber constructor.
  • Incorporate the library into the online documentation.

What is new in version 1.5.0:

  • Added toJSON and decimalPlaces methods.

What is new in version 1.4.1:

  • Amended README file.

What is new in version 1.3.0:

  • Maximum radix to 64.

What is new in version 1.2.1:

  • Bugfix:
  • Sign of zero when x < 0 and x + (-x) = 0.

What is new in version 1.2.0:

  • Throw Error objects for stack.

What is new in version 1.1.1:

  • Shows original value in constructor error message.

What is new in version 1.1.0:

  • Allow numbers with trailing radix point.

What is new in version 1.0.1:

  • Corrected a couple of spelling mistakes in comments.
  • Very minor regex tweaks.

What is new in version 1.0.0:

  • First version.

Requirements:

  • JavaScript enabled on client side
  • Node.js

Phần mềm tương tự

Phần mềm khác của nhà phát triển Michael McLaughlin

decimal.js
decimal.js

12 Mar 16

big.js
big.js

20 Jul 15

Ý kiến ​​để bignumber.js

Bình luận không
Nhập bình luận
Bật hình ảnh!