Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

Define large integer in Java

Hi,

Can anyone teach me how to define a large integer in Java?

Thanxs
Garion
0
yongeng
Asked:
yongeng
3 Solutions
 
zzynxSoftware engineerCommented:
0
 
TimYatesCommented:
use BigInteger?
0
 
TimYatesCommented:
hehehe
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
TimYatesCommented:
0
 
orhanbabaCommented:
if you mean Long integer use this
int i=500;
Long x=Long.parseLong(i);
0
 
zzynxSoftware engineerCommented:
>> hehehe
;°)
Morning Tim.
0
 
TimYatesCommented:
morning ;-)
0
 
zzynxSoftware engineerCommented:
Thanks for accepting, yongeng

Tim, I guess it's the first time you get points for "hehehe" ;°)
0
 
TimYatesCommented:
Hopefully, not the last ;-)

Good luck yongeng!!

Tim
0
 
yongengAuthor Commented:
Thanxs everyone :)
0
 
zzynxSoftware engineerCommented:
You're welcome
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now