Here you can find the source of formatLong(Long number)
public static final String formatLong(Long number)
//package com.java2s; //License from project: Open Source License public class Main { public static final String formatLong(Long number) { if (number == null) { number = 0L;/*from w w w.j a va2 s .c o m*/ } return number.toString(); } }