Tag: Java float to double

View All Java Casting Operations

November 24, 2013 · 1 min read
**A) Introduction**2. [Data Type Casting (Type Conversion)](http://way2java.com/casting-operations/data-type-casting-type-conversion/)

float to double Java

October 5, 2011 · 1 min read
###### After knowing Java rules of [Data Type Casting (Type Conversion)](http://way2java.com/casting-operations/data-type-casting-type-conversion/), let us cast float to double. By memory-wise, float takes 4 bytes of memory and double takes 8 bytes of memory. Assignment of 4 bytes value to 8 bytes value is done implicitly.