1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-03-02 03:49:24 +00:00

Support underscores as separators

This commit is contained in:
Michael Mclaughlin
2021-06-22 13:22:53 +01:00
parent 69e91fecd2
commit c29c80c6e3
4 changed files with 12 additions and 5 deletions

View File

@@ -301,6 +301,7 @@ new Decimal('0xff.8') // '255.5'
new Decimal(0.046875) // '0.046875'
new Decimal('0.046875000000') // '0.046875'
new Decimal('0.046_875_000_000') // '0.046875'
new Decimal(4.6875e-2) // '0.046875'
new Decimal('468.75e-4') // '0.046875'