Michael Mclaughlin
6016146ef7
#88 Update doc and .mjs after toNearest change
7 years ago
Michael M
c99bdef459
Merge pull request #88 from luciavelasco/fix-toNearest-rounding
...
Fix toNearest rounding
7 years ago
Lucia Velasco
caed629d5a
Code Review Changes: Updates test file and void check
...
Also removes superfluous line that the tests now cater for.
7 years ago
Lucia Velasco
2c3198d555
Fixes pre-existing test to successfully round up
7 years ago
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.
7 years ago
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.
7 years ago
Michael Mclaughlin
875f6d0f7a
v9.0.1
7 years ago
Michael Mclaughlin
8a7b6a3068
#80 Typings: correct return type
7 years ago
Michael Mclaughlin
dbba3d5b18
v9.0.0
7 years ago
Michael Mclaughlin
eb2efa06fb
#78 Typings: remove toFormat
7 years ago
Michael Mclaughlin
dbf681be4a
v8.0.0
7 years ago
Michael Mclaughlin
fd668fea70
Add Decimal.isDecimal and config reset
7 years ago
Michael Mclaughlin
17a358f2f4
Correct typings: toFraction returns Decimal[]
7 years ago
Michael Mclaughlin
1cbf5ffb44
v7.5.1
7 years ago
Michael M
84bf971160
Merge pull request #75 from chrisguttandin/fix-type-definition
...
remove abandoned character
7 years ago
chrisguttandin
6e91027ee0
remove abandoned character
7 years ago
Michael Mclaughlin
35a8cddde9
v7.5.0
7 years ago
Michael Mclaughlin
244138f8c2
Merge branch 'master' of https://github.com/MikeMcl/decimal.js
7 years ago
Michael Mclaughlin
d477d566ea
Use TypeScript delarations outside modules
7 years ago
Michael M
1a552b2d6c
Merge pull request #73 from mkutny/doc
...
docs: typos fixed
7 years ago
Max Kutny
074a97d06a
docs: typos fixed
7 years ago
Michael Mclaughlin
a0b78b6275
v7.4.0
7 years ago
Michael Mclaughlin
df5ed821f3
Add Typescript typings
7 years ago
Michael Mclaughlin
433759294a
v7.3.0
7 years ago
Michael Mclaughlin
4ca749e352
Rename decimal.es6.js to decimal.mjs
7 years ago
Michael Mclaughlin
9f3875a54d
Remove node 0.6 from .travis.yml
7 years ago
Michael Mclaughlin
2ed8a040c7
v7.2.4
7 years ago
Michael Mclaughlin
9ae7ca7088
Fix import issues
7 years ago
Michael Mclaughlin
3cbfd6da08
Update docs re global.crypto
7 years ago
Michael Mclaughlin
784a38a8db
v7.2.3
7 years ago
Michael Mclaughlin
22ac9377c6
Bugfix: #58 pow sometimes throws when result is Infinity
7 years ago
Michael Mclaughlin
32f0a63095
v7.2.2
7 years ago
Michael Mclaughlin
4d05267ba8
Bugfix: #57 Powers of -1 for integers over Number.MAX_SAFE_INTEGER
7 years ago
Michael Mclaughlin
3566299686
v7.2.1
7 years ago
Michael M
f2410a712a
Merge pull request #51 from lukaskollmer/patch-1
...
Fix broken Readme badges
7 years ago
Lukas Kollmer
981ba5c749
Update README.md
7 years ago
Michael Mclaughlin
2be14dfdd7
v7.2.0 Add decimal.es6.js
8 years ago
Michael Mclaughlin
85a499eb86
v7.1.2
8 years ago
Michael Mclaughlin
eec7273c19
Decimal.default to Decimal['default'] IE8 issue
8 years ago
Michael Mclaughlin
5547cc805d
Minor doc edit
8 years ago
Michael M
d199c97af4
Merge pull request #44 from qwe19272375/add-cdnjs-badge
...
Add CDNJS badge
8 years ago
Michael Mclaughlin
45eec0b863
v7.1.1
8 years ago
Michael Mclaughlin
27de48c4c3
Remove duplicated for-loop. Minor refactoring.
8 years ago
Brian Hsieh
e6c234f109
add CDNJS badge in README.md
...
This badge will show the version on CDNJS!
8 years ago
Michael Mclaughlin
148be72e6f
v7.1.0
8 years ago
Michael Mclaughlin
4df9158a1a
Support ES6 imports
8 years ago
Michael Mclaughlin
e48bddf45a
v7.0.0
8 years ago
Michael Mclaughlin
46b1aad320
Remove crypto require. Add set as config alias.
8 years ago
Michael Mclaughlin
fb37ca6bde
v6.0.0
8 years ago
Michael M
28451fb05c
Amend main field
9 years ago