Method format(long number)
Return type: java.lang.String
Member of: java.text.NumberFormat
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 " Site size: " + df.format(this.siteSize) +
2 connectionPool.getLog().error("#" + idFormat.format(getId()) + " encountered errors during destruction: " + t);
3 connectionPool.getLog().error("#" + idFormat.format(getId()) + " encountered errors during closure: ", t);
4 result = getDecimalFormat(locale, pattern).format(((Number) value).longValue());
5 String orderItemSeqId = nf.format(seqId);
6 lblTotalMem.setText(bytesFormatter.format(Runtime.getRuntime().totalMemory()));
7 System.out.println("Parsed " + longFormat.format(numLines) + " lines.");
8 String numString = formatter == null ? String.valueOf(listElement) : formatter.format(listElement);
9 return nf.format(lng.longValue());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.