Skip to content

Releases: bpierre/dnum

1.7.0

08 Nov 00:56
2239537
Compare
Choose a tag to compare

dnum.format(): trim extra zeros when trailingZeros is set to true.

1.6.0

27 Oct 15:22
e7cea40
Compare
Choose a tag to compare

Add toNumber().

This version also improves format(), which doesn’t rely on Intl.NumberFormat anymore which removes the precision limits that were coming from it.

1.5.1

18 Aug 15:59
c255bf3
Compare
Choose a tag to compare

Fix two issues with format().

Details: e2a7c2c

Note: this version only exists to replace 1.5.0 which wasn’t built properly before publication.

1.5.0

30 Jul 01:47
7576078
Compare
Choose a tag to compare

Fix two issues with format().

Details: e2a7c2c

1.4.2

23 May 15:22
2ced987
Compare
Choose a tag to compare

Avoid using the ??= operator because Bundlephobia doesn’t support it.

1.4.1

23 May 14:33
5d9d554
Compare
Choose a tag to compare

Avoid using ** on BigInt to circumvent a CodeSandbox issue.

1.4.0

23 May 13:38
d72228f
Compare
Choose a tag to compare

dnum now targets es2020 rather than es2022, for better compatibility.

1.3.1

21 May 14:21
c0ab33a
Compare
Choose a tag to compare

Fix types exports.

1.3.0

21 May 00:00
cfa57c5
Compare
Choose a tag to compare

Export subtract() (was missing from the previous release).

1.2.0

20 May 22:29
c0d23df
Compare
Choose a tag to compare

Add aliases: mul(), div(), sub().