org.mklab.tool.matrix
クラス Dec2hex
java.lang.Object
org.mklab.tool.matrix.Dec2hex
public class Dec2hex
- extends Object
十進数を十六進数に変換するクラスです。
Decimal number to hexadecimal number
- バージョン:
- $Revision: 1.12 $
- 作成者:
- koga
- 関連項目:
Hex2dec
,
Hex2num
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dec2hex
public Dec2hex()
main
public static void main(String[] args)
- メインメソッド
- パラメータ:
args
- コマンドライン引数
dec2hex
public static String dec2hex(int value)
- 10進数の整数を16進数の文字列に変換します。
- パラメータ:
value
- 10進数
- 戻り値:
- 16進数 (hexadecimal number)