We're dividing 58685117 by 402 
We want to figure out the number of times 58685117 can be divided by 402.

Advancing to step 1:
402 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 402

Moving on to step 2:
The number 402 fits into 58 0 times, leaving a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 58 after subtracting 0 from 58.
Bring next digit (6) of the dividend behind the 58 and repeat the process: 586 / 402

Going ahead to step 3:
586 divided by 402 is 1 with a remainder of 184.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 184 after subtracting 402 from 586.
Include the next digit (8) from the dividend after 184, then repeat: 1848 / 402

On to step 4:
When dividing 1848 by 402, we get 4 with a remainder of 240.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
The remainder is 240 after subtracting 1608 from 1848.
Fetch the next digit (5) from the dividend, attach it to 240 and continue: 2405 / 402

On to step 5:
When dividing 2405 by 402, we get 5 with a remainder of 395.
The next digit of our result is 5. 
Result so far: 145.0
Subtract 2010 from 2405 to get 395.
Take the next digit (1) from the dividend and append it to 395, then repeat: 3951 / 402

Going ahead to step 6:
402 goes into 3951 9 times with a remainder of 333.
Record the quotient 9 as the next digit in the result. 
Result so far: 1459.0
Deduct 3618 from 3951 and we're left with 333.
Include the next digit (1) from the dividend after 333, then repeat: 3331 / 402

Let's proceed to step 7:
If we divide 3331 by 402, we get 8 and a remainder of 115.
Write down 8 as next digit of the result. 
Result so far: 14598.0
If we subtract 3216 from 3331, we get 115.
Bring next digit (7) of the dividend behind the 115 and repeat the process: 1157 / 402

Going ahead to step 8:
1157 divided by 402 is 2 with a remainder of 353.
Use 2 as the next digit of our solution. 
Result so far: 145982.0
Subtracting 804 from 1157 leaves us with 353.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

On to step 9:
If we divide 3530 by 402, we get 8 and a remainder of 314.
Write down 8 as next digit of the result. 
Result so far: 145982.8
Subtracting 3216 from 3530 leaves us with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

Moving on to step 10:
402 can be fit into 3140 7 times, resulting in a remainder of 326.
The number 7 becomes the next digit in our result. 
Result so far: 145982.87
If we take 2814 away from 3140, we end up with 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Moving on to step 11:
402 goes into 3260 8 times with a remainder of 44.
The number 8 becomes the next digit in our result. 
Result so far: 145982.878
If we take 3216 away from 3260, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Moving on to step 12:
The number 402 fits into 440 1 times, leaving a remainder of 38.
The next digit of our result is 1. 
Result so far: 145982.8781
Subtract 402 from 440 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 13:
The number 402 fits into 380 0 times, leaving a remainder of 380.
Write down 0 as next digit of the result. 
Result so far: 145982.8781
Subtract 0 from 380 to get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Step 14:
When dividing 3800 by 402, we get 9 with a remainder of 182.
Put 9 as the next digit of the answer. 
Result so far: 145982.878109
Subtract 3618 from 3800 to get 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

Moving on to step 15:
If we divide 1820 by 402, we get 4 and a remainder of 212.
Write down 4 as next digit of the result. 
Result so far: 145982.8781094
The remainder is 212 after subtracting 1608 from 1820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

Moving on to step 16:
402 goes into 2120 5 times with a remainder of 110.
The next digit of our result is 5. 
Result so far: 145982.87810945
Deduct 2010 from 2120 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Our division results in 145982.87810945 with a remaining 1.1e-07.