Java Long Number Format longToSimpleString(long value)

Here you can find the source of longToSimpleString(long value)

Description

long To Simple String

License

Apache License

Declaration

public static String longToSimpleString(long value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.text.DecimalFormat;

public class Main {
    private static final DecimalFormat simpleFormat = new DecimalFormat("####");

    public static String longToSimpleString(long value) {
        return simpleFormat.format(value);
    }/*  w w  w  . j  a  v a2  s .c om*/
}

Related

  1. formatLong(long value)
  2. formatLong(long value)
  3. formatLong(long value, int length)
  4. formatLong(String value)
  5. formatLongAsDecimal(long l)