Results 1 to 6 of 6
- 05-08-2012, 03:35 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 55
- Rep Power
- 0
- 05-08-2012, 03:38 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
- 05-08-2012, 03:40 PM #3
Member
- Join Date
- Mar 2012
- Posts
- 55
- Rep Power
- 0
Re: length() returns int but not double
no, I haven't. So then I guess part of it is that I'm wondering why using a decimal in a string could be an issue.
- 05-08-2012, 04:11 PM #4
Senior Member
- Join Date
- Feb 2012
- Posts
- 219
- Rep Power
- 2
Re: length() returns int but not double
There is no point in returning a double because you're never going to see a String with a non integer number of elements.
- 05-08-2012, 04:13 PM #5
Member
- Join Date
- Mar 2012
- Posts
- 55
- Rep Power
- 0
Re: length() returns int but not double
Thanks.
- 05-08-2012, 04:22 PM #6
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
Re: length() returns int but not double
When people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
Difference between length() and length
By mitra in forum New To JavaReplies: 7Last Post: 07-28-2011, 12:46 AM -
double a * double b = weird output
By GPB in forum New To JavaReplies: 3Last Post: 03-26-2010, 10:40 AM -
Check if double is double
By marshalthrone in forum New To JavaReplies: 8Last Post: 09-30-2009, 02:51 PM -
non-static method add(double,double) cannot be referenced from a static context
By cravi85 in forum Java SoftwareReplies: 5Last Post: 03-21-2009, 09:32 PM -
Double.valueOf() vs Double.parseDouble()
By greenbean in forum New To JavaReplies: 10Last Post: 01-12-2009, 08:39 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks