Jump to content
Macro Express Forums

How do I set and work with Large Integer's?

Recommended Posts

From the Variables tab choose Add then choose Large Integers Variables from the dropdown list.


According to their help file these are signed variables in the -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 range. Zowie!

Link to comment
Share on other sites

  • 2 weeks later...

Like others, MXPro rounds anything over 16 significant digits down to 16 ... if it can.


If it cannot then it will display the number as an exponential.



doesnt work.. it shortened.. i try to output the following decimal in a message: .2938928392839292382


The number you have here in your message is not what is in your picture. That number is .000000000000000000000000000000456 and since it cannot be rounded to 16 digits, MXPro displays it as exponential ... which is correct.


The number you have here will be rounded to .293892839283929 in the message box.


Also bear in mind that rounding and display patterns are only for visualization, not for the math itself. The math itself is accurate. For example if you were to display the subtraction of .000000000000000000000000000000123 from that number in your picture then the message box would display 3.33E-31, which of course is correct.

Link to comment
Share on other sites



Zowie indeed! But trivially small compared when compared with large numbers from the maths world. For example, a few months ago the largest known prime number was discovered and has 17,425,170 digits.



Terry, East Grinstead, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...