Let's divide 58237956 by 997
We want to divide 58237956 by 997.

Advancing to step 1:
When dividing 5 by 997, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 997

Advancing to step 2:
If we divide 58 by 997, we get 0 and a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Fetch the next digit (2) from the dividend, attach it to 58 and continue: 582 / 997

Going ahead to step 3:
If we divide 582 by 997, we get 0 and a remainder of 582.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 582, we end up with 582.
Grab the next digit (3) from the dividend, add it to 582, then carry on: 5823 / 997

Going ahead to step 4:
The number 997 fits into 5823 5 times, leaving a remainder of 838.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 4985 from 5823 and we're left with 838.
Fetch the next digit (7) from the dividend, attach it to 838 and continue: 8387 / 997

Moving on to step 5:
If we divide 8387 by 997, we get 8 and a remainder of 411.
Put 8 as the next digit of the answer. 
Result so far: 58.0
Subtracting 7976 from 8387 leaves us with 411.
Fetch the next digit (9) from the dividend, attach it to 411 and continue: 4119 / 997

Step 6:
997 goes into 4119 4 times with a remainder of 131.
Use 4 as the next digit of our solution. 
Result so far: 584.0
Subtract 3988 from 4119 to get 131.
Grab the next digit (5) from the dividend, add it to 131, then carry on: 1315 / 997

Going ahead to step 7:
1315 divided by 997 is 1 with a remainder of 318.
The number 1 becomes the next digit in our result. 
Result so far: 5841.0
If we take 997 away from 1315, we end up with 318.
Fetch the next digit (6) from the dividend, attach it to 318 and continue: 3186 / 997

On to step 8:
997 can be fit into 3186 3 times, resulting in a remainder of 195.
The number 3 becomes the next digit in our result. 
Result so far: 58413.0
If we take 2991 away from 3186, we end up with 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1950, and continue the process.

Let's proceed to step 9:
997 goes into 1950 1 times with a remainder of 953.
Write down 1 as next digit of the result. 
Result so far: 58413.1
Deduct 997 from 1950 and we're left with 953.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9530, and continue the process.

On to step 10:
9530 divided by 997 is 9 with a remainder of 557.
Record the quotient 9 as the next digit in the result. 
Result so far: 58413.19
If we take 8973 away from 9530, we end up with 557.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5570, and continue the process.

Advancing to step 11:
997 can be fit into 5570 5 times, resulting in a remainder of 585.
Use 5 as the next digit of our solution. 
Result so far: 58413.195
If we subtract 4985 from 5570, we get 585.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5850, and continue the process.

Moving on to step 12:
The number 997 fits into 5850 5 times, leaving a remainder of 865.
Record the quotient 5 as the next digit in the result. 
Result so far: 58413.1955
The remainder is 865 after subtracting 4985 from 5850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8650, and continue the process.

Our division results in 58413.1955 with a remaining 0.00865.