Here you can find the source of convertHexToFloat(long hexValue)
Parameter | Description |
---|---|
hexValue | The hex value |
public static float convertHexToFloat(long hexValue)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w.j a va 2 s . c o m*/ * Converts a hex value given by a long to a float value.<br> * * @param hexValue * The hex value * @return The float */ public static float convertHexToFloat(long hexValue) { return Float.intBitsToFloat((int) hexValue); } }