Java Float Number Create toFloat(Object o)

Here you can find the source of toFloat(Object o)

Description

to Float

License

Open Source License

Declaration

public static Float toFloat(Object o) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static Float toFloat(Object o) {
        if (o == null) {
            return null;
        }//from  w w w.  j a  v  a2 s. c o m
        return Float.valueOf(String.valueOf(o));
    }
}

Related

  1. toFloat(Object _inStrObj)
  2. toFloat(Object anObj)
  3. toFloat(Object literal)
  4. toFloat(Object o)
  5. toFloat(Object o)
  6. toFloat(Object ob, Float defaultFloat)
  7. toFloat(Object obj)
  8. toFloat(Object obj)
  9. toFloat(Object obj)