Here you can find the source of BytesLEToFloat(final byte[] value)
public final static float BytesLEToFloat(final byte[] value)
//package com.java2s; //License from project: Creative Commons License public class Main { public final static float BytesLEToFloat(final byte[] value) { return Float.intBitsToFloat(BytesLEToInt(value)); }// w w w .jav a2s . com public final static int BytesLEToInt(final byte[] buf) { int val = 0x0; for (int i = 0; i < buf.length; i++) { val += ((int) buf[i] & 0xFF) << (8 * i); } return val; } }