Java tutorial
//package com.java2s; import java.text.DecimalFormat; public class Main { public static String getMoneyPatternWithoutCurrency(double money) { DecimalFormat formatter = new DecimalFormat("#,###.##"); return formatter.format(money).replace(',', '.'); //String s = String.format(TimeUtil.localeTr,"%,f", money).replace(',','.').concat(" TL"); } }