MikeMcl / decimal.js

An arbitrary-precision Decimal type for JavaScript
http://mikemcl.github.io/decimal.js
MIT License
6.35k stars 480 forks source link

new Decimal(PI) has bug #189

Closed wangnan0521 closed 2 years ago

wangnan0521 commented 2 years ago

image

MikeMcl commented 2 years ago

I'm not sure whether you are spamming, but I'll give you the benefit of the doubt.

You have "ed" towards the end of your 'PI' argument.