Skip to main content
Solved

Math expression package and exponential output

  • February 10, 2025
  • 1 reply
  • 55 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.

1 reply

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • 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.