Coder-Spirit / php-bignumbers

A robust library to handle immutable big numbers inside PHP applications
MIT License
131 stars 29 forks source link

Fixed mantissa (floating point) extraction #77

Open hbernaciak opened 2 years ago

hbernaciak commented 2 years ago

This fix extends the handling of exponential notation for numbers like below, which throws an exception "strValue must be a number" before: 100000e-8 1.33E+33 11111111e-7