We divide 645040 by 4
Our goal is to divide 645040 by 4.

Advancing to step 1:
6 divided by 4 is 1 with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 4 from 6 and we're left with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 4

Step 2:
The number 4 fits into 24 6 times, leaving a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtracting 24 from 24 leaves us with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 4

Going ahead to step 3:
The number 4 fits into 5 1 times, leaving a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 161.0
If we take 4 away from 5, we end up with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 4

On to step 4:
4 goes into 10 2 times with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 1612.0
Subtract 8 from 10 to get 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 4

Moving on to step 5:
If we divide 24 by 4, we get 6 and a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 16126.0
Subtract 24 from 24 to get 0.
Bring next digit (0) of the dividend behind the 0 and repeat the process: 0 / 4

Going ahead to step 6:
If we divide 0 by 4, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 161260.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
4 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 161260.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
0 divided by 4 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 161260.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 161260.0 with a balance of 0.0.