System.out.println(new Double(234314.999999999).longValue());//234314
System.out.println(new Double(234314.9999999999).longValue());//234314
System.out.println(new Double(234314.99999999999).longValue());//234315
System.out.println(new Double(234314.999999999999).longValue());//234315
System.out.println((long)234314.999999999);//234314
System.out.println((long)234314.9999999999);//234314
System.out.println((long)234314.99999999999);//234315
System.out.println((long)234314.999999999999);//234315
double轉long時,小數位數不同,得到的結果可能不一樣
正常時直接舍去小數位,小數位大於等於11位時可能會進位
