Java Float to floatToIntColor(float value)

Here you can find the source of floatToIntColor(float value)

Description

float To Int Color

License

Open Source License

Declaration

public static int floatToIntColor(float value) 

Method Source Code

//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);
    }
}

Related

  1. floatToBasicType(float f, Class clazz)
  2. floatToBinaryStringUnsigned(float value)
  3. floatToChar(float[] values)
  4. floatToHalf(float f)
  5. FloatToInt(double x)
  6. floatToPrefixCoded(float val)
  7. floatToRegisters(float f)
  8. floatToS390IntBits(float ieeeFloat)
  9. floatToSemiPrecision(float f, byte abyte0[], int i)