Java tutorial
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt import java.text.NumberFormat; import java.util.Locale; public class Main { private static String createStandardNumber(Object input) { // MOD SeB 11/03/2010 bug 11751 : convert number to String using current locale // MOD yyi 2010-04-15 bug 12483 : Unify the decimal format as US. return NumberFormat.getInstance(Locale.US).format(input); } }