Java AtomicLong doubleValue() MethodThe doubleValue() method of java AtomicLong class returns the current value of this AtomicLong as a double after a widening primitive conversion. SyntaxReturnsthe numeric value represented by this object after conversion to type double. Example 1Test it NowOutput: 0.0 Example 2Test it NowOutput: 123456.0 Example 3Test it NowOutput: -654321 Example 4Test it NowOutput: -11.0 Next TopicJava AtomicLong Class |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India