Results 1 to 2 of 2
- 12-04-2009, 03:55 AM #1
Member
- Join Date
- Nov 2009
- Posts
- 23
- Rep Power
- 0
Counting digits in an integer value, including zero
Hello,
I'm curious if this is possible at all.
Imagine if a user enters the number 00005 from his keyboard, and we were to count all the digits, including zeros, in this number, how would we go about doing it?
I see that any value entered from the keyboard that includes a zero in the beginning automatically cuts off.
How can I prevent this?
- 12-04-2009, 04:56 AM #2
Member
- Join Date
- Nov 2009
- Posts
- 12
- Rep Power
- 0
Similar Threads
-
can anyone tell my why this program bugs out when i enter more then 10 digits?
By sweetjava in forum New To JavaReplies: 3Last Post: 08-19-2009, 03:54 AM -
split() by digits
By RobertF in forum New To JavaReplies: 2Last Post: 03-12-2009, 02:16 AM -
sum of digits depreciation
By jleas in forum New To JavaReplies: 13Last Post: 11-09-2008, 01:37 PM -
Including JAR in applications
By bugger in forum New To JavaReplies: 0Last Post: 01-11-2008, 09:36 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks