Here you can find the source of floatToIntColor(float value)
public static int floatToIntColor(float value)
//package com.java2s; //License from project: Open Source License public class Main { public static int floatToIntColor(float value) { return Float.floatToRawIntBits(value); }//from w ww. j a v a 2s .c om public static int floatToRawIntBits(float value) { return Float.floatToRawIntBits(value); } }