Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

int conversion to float

/**
 * Java Program - Convert Int to Float
 */
 
public class IntToFloat {
 
    public static void main(String[] args) {
        int i = 0x40000085;
        float f = Float.intBitsToFloat(i);
        System.out.println(f);
    }
     
}
Source by www.tutorialkart.com #
 
PREVIOUS NEXT
Tagged: #int #conversion #float
ADD COMMENT
Topic
Name
7+4 =