Skip to main content

Hallo, recently I’ve been doing some decimal numbers calculation using Math Expression package ver. 1.0.6-20220114-173246:

 

 

As an otput i got:

-2.049744884e+7

instead of expecting:

-20497448.84

What caused such effect?

looking for a clues,

 

greeting

Michal

 

 

It appears that this package is based off the MathJS library.

https://mathjs.org/index.html

I would expect a large number to be displayed as an exponent, but your number isn’t terribly large.

I would recommend using a different package or using a language like Python or JavaScript to perform your calculations.


Reply