mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
v2.0.2
This commit is contained in:
parent
f68b25fdc8
commit
ba0ca1ee14
@ -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
|
As mentioned above, multiple Decimal constructors can be created, each with their own independent
|
||||||
configuration which applies to all Decimal numbers created from it.
|
configuration which applies to all Decimal numbers created from it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Decimal.config({ precision: 5, rounding: 4 })
|
Decimal.config({ precision: 5, rounding: 4 })
|
||||||
|
|
||||||
// constructor is a factory method and it can also accept a configuration object
|
// constructor is a factory method and it can also accept a configuration object
|
||||||
@ -200,6 +198,9 @@ See LICENCE.
|
|||||||
|
|
||||||
## Change Log
|
## Change Log
|
||||||
|
|
||||||
|
####2.0.2
|
||||||
|
* 30/04/2014 Correct doc links
|
||||||
|
|
||||||
####2.0.1
|
####2.0.1
|
||||||
* 10/04/2014 Update npmignore
|
* 10/04/2014 Update npmignore
|
||||||
|
|
||||||
|
@ -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) {
|
;(function (global) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* decimal.js v2.0.1
|
* decimal.js v2.0.2
|
||||||
* An arbitrary-precision Decimal type for JavaScript.
|
* An arbitrary-precision Decimal type for JavaScript.
|
||||||
* https://github.com/MikeMcl/decimal.js
|
* https://github.com/MikeMcl/decimal.js
|
||||||
* Copyright (c) 2014 Michael Mclaughlin <M8ch88l@gmail.com>
|
* Copyright (c) 2014 Michael Mclaughlin <M8ch88l@gmail.com>
|
||||||
|
2
decimal.min.js
vendored
2
decimal.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "decimal.js",
|
"name": "decimal.js",
|
||||||
"description": "An arbitrary-precision Decimal type for JavaScript.",
|
"description": "An arbitrary-precision Decimal type for JavaScript.",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"arbitrary",
|
"arbitrary",
|
||||||
"precision",
|
"precision",
|
||||||
@ -31,6 +31,6 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node ./test/every-test.js",
|
"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 */'"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user