jeffjing
0a81a6758a
docs: typo fixed
...
Related to [#73 ](https://github.com/MikeMcl/decimal.js/pull/73/files )
2019-05-08 21:13:01 +08:00
Michael M
f0dc751067
Merge pull request #127 from harrysarson/patch-1
...
Check node 12 in CI
2019-04-29 23:17:42 +01:00
Harry Sarson
6c6fbe7cac
Check node 12 in CI
2019-04-29 16:42:27 +01:00
Michael Mclaughlin
b041339e2a
v10.1.1
2019-02-27 10:10:12 +00:00
Michael Mclaughlin
8262235084
Check Symbol properly
2019-02-27 10:06:46 +00:00
Michael Mclaughlin
7818dff1ca
v10.1.0
...
#122 Add custom `util.inspect()` function.
Add `Symbol.toStringTag`.
#121 Constructor: add range check for arguments of type number and Decimal.
Remove premable from uglifyjs build script.
Move *decimal.min.js.map* to root directory.
2019-02-26 23:27:35 +00:00
Michael M
50dc74c3cb
Merge pull request #122 from adrianhara/master
...
Added custom util.inspect() function
2019-02-26 23:23:55 +00:00
Adrian Hara
bc2979c96a
Added custom util.inspect() function that just prints out the "toString()" result of the decimal.
2019-02-25 17:06:47 +01:00
Michael Mclaughlin
9106f0a010
v10.0.2
2018-12-13 18:29:06 +00:00
Michael Mclaughlin
0c83e6a804
Remove bower.json
2018-12-13 18:28:37 +00:00
Michael M
846b9e6c57
#114 Remove sourceMappingURL
2018-12-13 18:16:16 +00:00
Michael Mclaughlin
bf504624f8
v10.0.1
2018-05-24 16:45:53 +01:00
Michael Mclaughlin
c6fb6a87b3
Add browser field to package.json
2018-05-24 16:41:43 +01:00
Michael Mclaughlin
903b98877d
Avoid Content Security Policy unsafe-eval issue
2018-04-26 17:54:17 +01:00
Michael Mclaughlin
2e75623cc3
v10.0.0
2018-03-10 22:10:08 +00:00
Michael Mclaughlin
93930f8a23
Put global ts definitions in separate file (see bignumber.js #143 )
2018-03-10 22:00:51 +00:00
Michael Mclaughlin
a821788a7c
Explain trig precision limits
2018-03-10 21:57:13 +00:00
Michael Mclaughlin
ba99e657d2
#82 #91 const to var
2018-03-10 19:46:08 +00:00
Michael Mclaughlin
6016146ef7
#88 Update doc and .mjs after toNearest change
2018-03-10 19:43:59 +00:00
Michael M
c99bdef459
Merge pull request #88 from luciavelasco/fix-toNearest-rounding
...
Fix toNearest rounding
2018-03-05 22:52:28 +00:00
Lucia Velasco
caed629d5a
Code Review Changes: Updates test file and void check
...
Also removes superfluous line that the tests now cater for.
2018-03-05 09:10:46 +00:00
Lucia Velasco
2c3198d555
Fixes pre-existing test to successfully round up
2018-03-02 22:11:22 +00:00
Lucia Velasco
4949869b5e
Allows round up and round ceil to work in the toNearest function.
...
This makes the new tests in the previous commit work.
A value of less than half of the first parameter of toNearest will now round up to the nearest multiplication of that first parameter.
2018-03-02 22:07:56 +00:00
Lucia Velasco
caaba6d513
Adds toNearest tests for numbers to round that are less-than-even
...
This will test numbers that are less than half the first argument (y) of the toNearest function.
If the y value is ten, the decimal value on which toNearest is tested will be a multiplication of ten plus less than 5.
2018-03-02 21:55:54 +00:00
Michael Mclaughlin
875f6d0f7a
v9.0.1
2017-12-15 10:38:51 +00:00
Michael Mclaughlin
8a7b6a3068
#80 Typings: correct return type
2017-12-15 10:37:01 +00:00
Michael Mclaughlin
dbba3d5b18
v9.0.0
2017-12-14 10:30:42 +00:00
Michael Mclaughlin
eb2efa06fb
#78 Typings: remove toFormat
2017-12-14 10:28:30 +00:00
Michael Mclaughlin
dbf681be4a
v8.0.0
2017-12-10 18:32:38 +00:00
Michael Mclaughlin
fd668fea70
Add Decimal.isDecimal and config reset
2017-12-09 22:05:28 +00:00
Michael Mclaughlin
17a358f2f4
Correct typings: toFraction returns Decimal[]
2017-12-09 11:51:25 +00:00
Michael Mclaughlin
1cbf5ffb44
v7.5.1
2017-12-03 22:21:41 +00:00
Michael M
84bf971160
Merge pull request #75 from chrisguttandin/fix-type-definition
...
remove abandoned character
2017-12-03 22:15:13 +00:00
chrisguttandin
6e91027ee0
remove abandoned character
2017-12-03 22:55:11 +01:00
Michael Mclaughlin
35a8cddde9
v7.5.0
2017-12-03 18:09:41 +00:00
Michael Mclaughlin
244138f8c2
Merge branch 'master' of https://github.com/MikeMcl/decimal.js
2017-12-03 18:09:04 +00:00
Michael Mclaughlin
d477d566ea
Use TypeScript delarations outside modules
2017-12-03 17:42:48 +00:00
Michael M
1a552b2d6c
Merge pull request #73 from mkutny/doc
...
docs: typos fixed
2017-11-29 23:22:05 +00:00
Max Kutny
074a97d06a
docs: typos fixed
2017-11-29 16:25:43 +02:00
Michael Mclaughlin
a0b78b6275
v7.4.0
2017-11-25 23:45:15 +00:00
Michael Mclaughlin
df5ed821f3
Add Typescript typings
2017-11-25 23:42:03 +00:00
Michael Mclaughlin
433759294a
v7.3.0
2017-09-26 18:23:56 +01:00
Michael Mclaughlin
4ca749e352
Rename decimal.es6.js to decimal.mjs
2017-09-26 18:19:06 +01:00
Michael Mclaughlin
9f3875a54d
Remove node 0.6 from .travis.yml
2017-09-26 18:16:37 +01:00
Michael Mclaughlin
2ed8a040c7
v7.2.4
2017-09-09 18:53:23 +01:00
Michael Mclaughlin
9ae7ca7088
Fix import issues
2017-09-09 18:50:00 +01:00
Michael Mclaughlin
3cbfd6da08
Update docs re global.crypto
2017-09-09 18:47:57 +01:00
Michael Mclaughlin
784a38a8db
v7.2.3
2017-06-27 22:08:50 +01:00
Michael Mclaughlin
22ac9377c6
Bugfix: #58 pow sometimes throws when result is Infinity
2017-06-27 22:07:37 +01:00
Michael Mclaughlin
32f0a63095
v7.2.2
2017-06-25 23:39:53 +01:00