Skip to main content
Solved

Math expression package and exponential output

  • February 10, 2025
  • 1 reply
  • 23 views

Forum|alt.badge.img+8

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

 

 

Best answer by Aaron.Gleason

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.

View original
Did this topic help answer your question?

1 reply

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 503 replies
  • Answer
  • February 10, 2025

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings