Here you can find the source of formatBigNumber(long value)
Parameter | Description |
---|---|
value | to format |
public static String formatBigNumber(long value)
//package com.java2s; /*/*w w w .j av a 2 s . c o m*/ * This software is released under a licence similar to the Apache Software Licence. * See org.logicalcobwebs.proxool.package.html for details. * The latest version is available at http://proxool.sourceforge.net */ import java.text.DecimalFormat; public class Main { private static DecimalFormat bigCountFormat = new DecimalFormat("###000000"); /** * Format like ###000000 * @param value to format * @return formatted value */ public static String formatBigNumber(long value) { return bigCountFormat.format(value); } }