Back to project page TextCounter.
The source code is released under:
MIT License
If you think the Android project TextCounter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.premnirmal.textcounter.formatters; /* ww w.ja v a 2s .c om*/ import com.github.premnirmal.textcounter.Formatter; import java.text.NumberFormat; import java.util.Locale; /** * Created by prem on 10/28/14. */ public class IntegerFormatter implements Formatter { @Override public String format(String prefix, String suffix, float value) { return prefix + NumberFormat.getNumberInstance(Locale.US).format(value) + suffix; } }