Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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