Java Integer to Hex intToHexString(int number)

Here you can find the source of intToHexString(int number)

Description

Convert integer to hex String.

License

Apache License

Declaration


public static String intToHexString(int number) throws NumberFormatException 

Method Source Code

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

public class Main {
    /**/*from   w  ww  .  j  av  a  2  s.c o  m*/
     * Convert integer to hex String.
     */

    public static String intToHexString(int number) throws NumberFormatException {
        return Integer.toString(number, 16);
    }
}

Related

  1. intToHexString(int _i)
  2. intToHexString(int i)
  3. intToHexString(int i)
  4. intToHexString(int i)
  5. intToHexString(int num)
  6. intToHexString(int val, int width)
  7. intToHexString(int value)
  8. intToHexString(int value, int digits)
  9. intToHexWithPadding(Integer input, Integer max_size)