Java Long Number Format format(long s)

Here you can find the source of format(long s)

Description

format

License

Open Source License

Declaration

private static String format(long s) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {

    private static String format(long s) {
        if (s < 10) {
            return "0" + s;
        } else {/*from  w w w  .  j  a  v  a2 s .  com*/
            return "" + s;
        }
    }
}

Related

  1. format(long mem)
  2. format(long milliseconds)
  3. format(long ms)
  4. format(long numero, int numeroZeri)
  5. format(long offsetMillis)
  6. format(long seconds)
  7. format(Long value)
  8. format(long value)
  9. formatLong(long inLong, int inLen, boolean inComma, int inCommaPos)