Java Float Number Create toFloat(final String value)

Here you can find the source of toFloat(final String value)

Description

create Long from str.

License

Apache License

Parameter

Parameter Description
value a parameter

Declaration

public static Float toFloat(final String value) 

Method Source Code

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

public class Main {
    /**//from w w  w  .j ava2s  .c o  m
     * create Long from str.
     * @param value
     * @return
     */
    public static Float toFloat(final String value) {
        return Float.parseFloat(value);
    }
}

Related

  1. toFloat(final Object o, final String pattern)
  2. toFloat(final Object obj)
  3. toFloat(final Object valueRep)
  4. toFloat(final String value)
  5. toFloat(final String value)
  6. toFloat(Float num, float defaultValue)
  7. toFloat(int colorComponent)
  8. toFloat(int hbits)
  9. toFloat(int majorVersion, int minorVersion)