Here you can find the source of longToString(long li)
public static String longToString(long li)
//package com.java2s; //License from project: Apache License public class Main { public static String longToString(long li) { String str = ""; try {//w ww .j a va 2s . c o m str = String.valueOf(li); } catch (Exception e) { } return str; } }