question: public static Double toDouble ( Number self ) { if ( ( self instanceof Double ) || ( self instanceof Long ) || ( self instanceof Integer ) || ( self instanceof Short ) || ( self instanceof Byte ) ) { return self . doubleValue ( ) ; } return Double . valueOf ( self . toString ( ) ) ; }
target:  Transform a Number into a Double