Skip to content

Commit 2836060

Browse files
committed
Fix
1 parent e7a470b commit 2836060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/conversions/OctalToBinary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static long convertOctalToBinary(int octalNumber) {
4747
binaryNumber += binaryDigit * digitPosition;
4848

4949
octalNumber /= 10;
50-
digitPosition *= 1000; // Move to the next group of 3 binary digits
50+
digitPosition *= 1000;
5151
}
5252

5353
return binaryNumber;

0 commit comments

Comments
 (0)