File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
4b and the integer limit
Joined: Dec 26, 2002
Oct 08, 2008 03:54:00
My issue is that this all works fine - except for numbers over the 2,147,483,647 ceiling, which throw an error.
I'd like to use longs instead, but I'm not quite sure how to do it, and have the array-element selecting code still work.
Joined: Jul 01, 2008
Oct 08, 2008 10:15:00
I'm currently on this, and being nitpicked. Take a look at the Long wrapper class - you can handle the numbers we are dealing with using that.
Joined: Nov 03, 2006
Oct 09, 2008 18:49:00
are you familiar with casting?
That would take care of the array problem you are having, I think.
I agree. Here's the link:
subject: 4b and the integer limit
Question Regarding JCombo Box Rebuilding it Dynamically from db.db
Encoding and Decoding
your experience*** true Experience
Struts2: which result type to use
WA #2 ..... word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014