We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Adding gone wrong

eNarc
eNarc asked
on
Medium Priority
233 Views
Last Modified: 2012-05-11
Hi, this happened when adding allot of numbers together I get a negative result? how could I fix this?

-1565903897
Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
its uses Int64;


-2050180960
-1851261970/198918990

Author

Commented:
doh, it was integer; lol thanks.
Ephraim WangoyaSoftware Engineer
CERTIFIED EXPERT

Commented:

If you dont expect negative numbers for your result, you can also use

UInt64
or
Extended
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.