1
2
3
4
DecimalFormat df = new DecimalFormat("###,###,###,###"); 
double d = 1000000d; 
String str = df.format(d); 
System.out.println(str); 





'Android > Class' 카테고리의 다른 글

WeakReference & SoftReference  (0) 2015.11.20
[View] void onMeasure / View.MeasureSpec  (0) 2015.11.02
[RelativeLayout]  (0) 2015.10.21
[RecyclerView]  (0) 2015.09.18
[Android] SoundPool  (0) 2015.08.07
Posted by 소망아기
: