We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebbb8a6 commit 8b778deCopy full SHA for 8b778de
src/main/java/com/thealgorithms/conversions/DecimalToAnyBase.java
@@ -63,7 +63,7 @@ private static char convertToChar(int value) {
63
if (value >= 0 && value <= 9) {
64
return (char) (ZERO_CHAR + value);
65
} else {
66
- return (char) (A_CHAR + (value - DIGIT_OFFSET));
+ return (char) (A_CHAR + value - DIGIT_OFFSET);
67
}
68
69
0 commit comments