Java Double Number Create toDouble(Object o)

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

Description

to Double

License

Open Source License

Declaration

public static Double toDouble(Object o) 

Method Source Code

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

public class Main {
    public static Double toDouble(Object o) {
        if (o == null) {
            return null;
        }/*from  w ww .  j  av  a2s.c om*/
        return Double.valueOf(String.valueOf(o));
    }
}

Related

  1. toDouble(Object literal)
  2. toDouble(Object number)
  3. toDouble(Object number)
  4. toDouble(Object o)
  5. toDouble(Object o)
  6. toDouble(Object o)
  7. toDouble(Object o)
  8. toDouble(Object o)
  9. toDouble(Object ob, Double defaultDouble)