1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00
This commit is contained in:
Michael Mclaughlin 2014-04-30 17:42:49 +01:00
parent f68b25fdc8
commit ba0ca1ee14
4 changed files with 8 additions and 7 deletions

View File

@ -117,8 +117,6 @@ of the Decimal constructor and rounded using the rounding mode specified by the
As mentioned above, multiple Decimal constructors can be created, each with their own independent
configuration which applies to all Decimal numbers created from it.
Decimal.config({ precision: 5, rounding: 4 })
// constructor is a factory method and it can also accept a configuration object
@ -200,6 +198,9 @@ See LICENCE.
## Change Log
####2.0.2
* 30/04/2014 Correct doc links
####2.0.1
* 10/04/2014 Update npmignore

View File

@ -1,10 +1,10 @@
/*! decimal.js v2.0.1 https://github.com/MikeMcl/decimal.js/LICENCE */
/*! decimal.js v2.0.2 https://github.com/MikeMcl/decimal.js/LICENCE */
;(function (global) {
'use strict';
/*
* decimal.js v2.0.1
* decimal.js v2.0.2
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2014 Michael Mclaughlin <M8ch88l@gmail.com>

2
decimal.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{
"name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "2.0.1",
"version": "2.0.2",
"keywords": [
"arbitrary",
"precision",
@ -31,6 +31,6 @@
"license": "MIT",
"scripts": {
"test": "node ./test/every-test.js",
"build": "uglifyjs decimal.js -c -m -o decimal.min.js --preamble '/* decimal.js v2.0.0 https://github.com/MikeMcl/decimal.js/LICENCE */'"
"build": "uglifyjs decimal.js -c -m -o decimal.min.js --preamble '/* decimal.js v2.0.2 https://github.com/MikeMcl/decimal.js/LICENCE */'"
}
}