예제 #1
0
 public static string OctToDec(string input) =>
 BaseFunc.ToDecimal(input, 8);
예제 #2
0
 public static string OctToHex(string input) =>
 BaseFunc.DecimalTo(int.Parse(BaseFunc.ToDecimal(input, 8)), 16);
예제 #3
0
 public static string BinToOct(string input) =>
 BaseFunc.DecimalTo(int.Parse(BaseFunc.ToDecimal(input, 2)), 8);
예제 #4
0
 public static string BinToDec(string input) =>
 BaseFunc.ToDecimal(input, 2);
예제 #5
0
 public static string HexToDec(string input) =>
 BaseFunc.ToDecimal(input, 16);
예제 #6
0
 public static string HexToBin(string input) =>
 BaseFunc.DecimalTo(int.Parse(BaseFunc.ToDecimal(input, 16)), 2);
예제 #7
0
 public static string DecToHex(string input) =>
 BaseFunc.DecimalTo(int.Parse(input), 16);
예제 #8
0
 public static string DecToOct(string input) =>
 BaseFunc.DecimalTo(int.Parse(input), 8);
예제 #9
0
 public static string DecToBin(string input) =>
 BaseFunc.DecimalTo(int.Parse(input), 2);