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