코드로 우주평화

1128. Hex to Decimal 본문

나는 이렇게 학습한다/Algorithm & SQL

1128. Hex to Decimal

daco2020 2022. 11. 28. 12:24

Complete the function which converts hex number (given as a string) to a decimal number.



Solution:

int hexToDec(String hexString) => int.parse(hexString, radix: 16);


'나는 이렇게 학습한다 > Algorithm & SQL' 카테고리의 다른 글

1130. Square(n) Sum  (0) 2022.11.30
1129. Bin to Decimal  (0) 2022.11.29
1127. Two to One  (0) 2022.11.27
1126. How good are you really?  (0) 2022.11.26
1125. MakeUpperCase  (0) 2022.11.25