Java Long to Base longToBase36(long in)

Here you can find the source of longToBase36(long in)

Description

Convert a long to a lowercase base36 string

License

Open Source License

Parameter

Parameter Description
in long to be converted

Return

Lowercase id corresponding to the in long

Declaration


public static String longToBase36(long in) 

Method Source Code

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

public class Main {
    /**/*from w w  w  .  j  a v  a 2 s .c  o m*/
     * Convert a long to a lowercase base36 string
     * 
     * @param in long to be converted
     * @return Lowercase id corresponding to the in long
     */

    public static String longToBase36(long in) {
        return Long.toString(in, 36).toLowerCase();
    }
}

Related

  1. longToBase36(long decimalNumber)
  2. longToBase64(long number)