Java Float Number Create toFloat(int majorVersion, int minorVersion)

Here you can find the source of toFloat(int majorVersion, int minorVersion)

Description

to Float

License

Apache License

Declaration

public static float toFloat(int majorVersion, int minorVersion) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static float toFloat(int majorVersion, int minorVersion) {
        return Float.parseFloat(majorVersion + "." + minorVersion);
    }//from w  w w.  j a va 2 s  . com
}

Related

  1. toFloat(final String value)
  2. toFloat(final String value)
  3. toFloat(Float num, float defaultValue)
  4. toFloat(int colorComponent)
  5. toFloat(int hbits)
  6. toFloat(int value)
  7. toFloat(int x)
  8. toFloat(int[] array)
  9. toFloat(long intPart, long decimalPart, long decimalPlaces)