Java Object to Double objToDouble(Object obj)

Here you can find the source of objToDouble(Object obj)

Description

obj To Double

License

Open Source License

Declaration

public static Double objToDouble(Object obj) 

Method Source Code

//package com.java2s;

public class Main {

    public static Double objToDouble(Object obj) {
        Double doubleObj = null;//  w  ww  .j a  va 2s .c o m
        if (obj != null) {
            doubleObj = (Double) obj;
        }
        return doubleObj;
    }
}

Related

  1. objectToDouble(Object obj)
  2. objectToDouble(Object obj)
  3. objectToDouble(Object Obj)
  4. objectToDouble(Object p1)
  5. objToDouble(Object obj)