bylexus / fparse

A JavaScript Formula Parser
http://fparser.alexi.ch/
MIT License
89 stars 15 forks source link

Can parser don't apply scientific notation to large numbers? #49

Open sanxofon opened 1 year ago

sanxofon commented 1 year ago

Can you make it so that when a formula is loaded, the parser doesn't apply scientific notation to large numbers? Or how can I achieve this in a fork?

for example:

new Formula(VALUE)

where VALUE gets transformed to scientific notation so any number with more than 15 digits will get rounded and rewriten to SN.

How can I prevent that?

Any ideas?