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 e7a470b commit 2836060Copy full SHA for 2836060
src/main/java/com/thealgorithms/conversions/OctalToBinary.java
@@ -47,7 +47,7 @@ public static long convertOctalToBinary(int octalNumber) {
47
binaryNumber += binaryDigit * digitPosition;
48
49
octalNumber /= 10;
50
- digitPosition *= 1000; // Move to the next group of 3 binary digits
+ digitPosition *= 1000;
51
}
52
53
return binaryNumber;
0 commit comments