Java double轉long方法

double random = Math.round(Math.random()*10000);  long l = new Double(random).longValue();
相關文章
相關標籤/搜索