Java Decimal to Hex decimalToHexa(final int d)

Here you can find the source of decimalToHexa(final int d)

Description

decimal To Hexa

License

Open Source License

Declaration

private static char decimalToHexa(final int d) 

Method Source Code

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

public class Main {
    private static final String HEXA_DIGITS = "0123456789abcdef";

    private static char decimalToHexa(final int d) {
        return HEXA_DIGITS.charAt(d);
    }/*from   ww w  .  j  ava 2  s  . co m*/
}

Related

  1. dec2hex(int dec)
  2. decimal2hex(int d)
  3. decimalToHex(int n)