We're dividing 58165218 by 645 
Let's see how many times 645 fits into 58165218.

On to step 1:
645 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 645

On to step 2:
645 goes into 58 0 times with 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.
Append the next digit (1) from the dividend to 58 and continue with: 581 / 645

Moving on to step 3:
The number 645 fits into 581 0 times, leaving a remainder of 581.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 581, we get 581.
Include the next digit (6) from the dividend after 581, then repeat: 5816 / 645

Advancing to step 4:
If we divide 5816 by 645, we get 9 and a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Deduct 5805 from 5816 and we're left with 11.
Bring next digit (5) of the dividend behind the 11 and repeat the process: 115 / 645

Moving on to step 5:
If we divide 115 by 645, we get 0 and a remainder of 115.
Write down 0 as next digit of the result. 
Result so far: 90.0
If we subtract 0 from 115, we get 115.
Bring next digit (2) of the dividend behind the 115 and repeat the process: 1152 / 645

Moving on to step 6:
645 goes into 1152 1 times with a remainder of 507.
Put 1 as the next digit of the answer. 
Result so far: 901.0
If we subtract 645 from 1152, we get 507.
Append the next digit (1) from the dividend to 507 and continue with: 5071 / 645

Let's proceed to step 7:
645 goes into 5071 7 times with a remainder of 556.
Use 7 as the next digit of our solution. 
Result so far: 9017.0
Deduct 4515 from 5071 and we're left with 556.
Fetch the next digit (8) from the dividend, attach it to 556 and continue: 5568 / 645

Step 8:
If we divide 5568 by 645, we get 8 and a remainder of 408.
Record the quotient 8 as the next digit in the result. 
Result so far: 90178.0
If we subtract 5160 from 5568, we get 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Step 9:
If we divide 4080 by 645, we get 6 and a remainder of 210.
Record the quotient 6 as the next digit in the result. 
Result so far: 90178.6
Deduct 3870 from 4080 and we're left with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Let's proceed to step 10:
The number 645 fits into 2100 3 times, leaving a remainder of 165.
Write down 3 as next digit of the result. 
Result so far: 90178.63
The remainder is 165 after subtracting 1935 from 2100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Going ahead to step 11:
645 goes into 1650 2 times with a remainder of 360.
Record the quotient 2 as the next digit in the result. 
Result so far: 90178.632
Subtracting 1290 from 1650 leaves us with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Going ahead to step 12:
645 can be fit into 3600 5 times, resulting in a remainder of 375.
The number 5 becomes the next digit in our result. 
Result so far: 90178.6325
If we take 3225 away from 3600, we end up with 375.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3750, and continue the process.

Advancing to step 13:
When dividing 3750 by 645, we get 5 with a remainder of 525.
Use 5 as the next digit of our solution. 
Result so far: 90178.63255
Deduct 3225 from 3750 and we're left with 525.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5250, and continue the process.

The final outcome is 90178.63255, with a leftover of 0.000525.