public static Long toLong(double d){
  return Long.valueOf(toLongValue(d));
}

public static Long toLong ( double d ) { return Long . valueOf ( toLongValue ( d ) ) ; }
cast a double value to a long object ( reference type )
