Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3b70b8c

Browse files
authored
Merge pull requestTheAlgorithms#764 from ibahadiraltun/patch-1
Debug HexaDecimalToDecimal.java
2 parents459434c +2dcabed commit3b70b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Conversions/HexaDecimalToDecimal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public class HexaDecimalToDecimal {
66

77
// convert hexadecimal to decimal
88
publicstaticintgetHexaToDec(Stringhex) {
9-
Stringdigits ="012345678910ABCDEFF";
9+
Stringdigits ="0123456789ABCDEF";
1010
hex =hex.toUpperCase();
1111
intval =0;
1212
for (inti =0;i <hex.length();i++) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp