About 18,700,000 results
Open links in new tab
  1. What exactly does Double mean in java? - Stack Overflow

    Jun 12, 2011 · A Double in Java is the class version of the double basic type - you can use doubles but, if you want to do something with them that requires them to be an object (such as put them in a …

  2. methods - Double vs double in java - Stack Overflow

    Nov 11, 2012 · Possible Duplicate: Java : different double and Double in comparison In a sample java program for one of my labs, I have two different methods taking Double and double parameters …

  3. java - How do I convert Double [] to double []? - Stack Overflow

    May 8, 2015 · double[] getDoubles(int columnIndex) { return (double[]) data[columnIndex]; } But - Java doesn't allow Object[] to be cast to double[]. Casting it to Double[] is ok because Double is an object …

  4. Convert String to double in Java - Stack Overflow

    Apr 24, 2011 · How can I convert a String such as "12.34" to a double in Java?

  5. What is the difference between "Double" and "double" in Java?

    39 This question already has answers here: Double vs double in java [duplicate] (7 answers) Difference between decimal, float and double in .NET? (19 answers)

  6. casting - Converting double to integer in Java - Stack Overflow

    Jun 24, 2011 · In Java, I want to convert a double to an integer, I know if you do this:

  7. java - I need to convert an int variable to double - Stack Overflow

    Nov 6, 2012 · double determinant = a11 * a22 - a12 * a21; double firstSolution = (b1 * a22 - b2 * a12) / determinant; double secondSolution = (b2 * a11 - b1 * a21) / determinant; This works in the same …

  8. Double array initialization in Java - Stack Overflow

    I was reading a book on Java and came across an example in which an array of type double was initialized in a way that I haven't seen before. What type of initialization is it and where else can it...

  9. types - Java: double vs float - Stack Overflow

    Sep 29, 2014 · By default, Java will treat a decimal (e.g. " 4.3 ") as a double unless you otherwise specify a float by adding an f after the number (e.g. " 4.3f "). You're having the same problem on both …

  10. How to compare two double values in Java? - Stack Overflow

    A simple comparison of two double values in Java creates some problems. Let's consider the following simple code snippet in Java. package doublecomparision; final public class DoubleComparision ...