A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Joined: Mar 13, 2007
May 20, 2009 00:31:45
i wish to make 00000000001234567890 to 1234567890.
How can i cast
20 digit to Long? if i use parseInt(), may hit
due to out of range.
Joined: Nov 08, 2001
May 20, 2009 05:04:29
I agree. Here's the link:
Cast a String to a long?
parseLong(String s, int radix) ...What is a radix ?
a wrapper class question
Performance difference between Long.longValue() and Long.parseLong()
parseLong(String s, int radix) - What is a radix ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015