Java tutorial
//package com.java2s; import java.text.NumberFormat; public class Main { private static NumberFormat formatFloat, formatInt; static public void nfInitFormats() { formatFloat = NumberFormat.getInstance(); formatFloat.setGroupingUsed(false); formatInt = NumberFormat.getInstance(); formatInt.setGroupingUsed(false); } }