Answers for "int conversion to float"

0

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);
    }
     
}
Posted by: Guest on April-06-2022

Code answers related to "int conversion to float"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language