We're dividing 345712 by 45 
We want to divide 345712 by 45.

Let's proceed to step 1:
45 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 45

Moving on to step 2:
45 can be fit into 34 0 times, resulting in a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 34 leaves us with 34.
Fetch the next digit (5) from the dividend, attach it to 34 and continue: 345 / 45

Let's proceed to step 3:
If we divide 345 by 45, we get 7 and a remainder of 30.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 315 from 345 leaves us with 30.
Include the next digit (7) from the dividend after 30, then repeat: 307 / 45

On to step 4:
The number 45 fits into 307 6 times, leaving a remainder of 37.
Put 6 as the next digit of the answer. 
Result so far: 76.0
If we take 270 away from 307, we end up with 37.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 45

Moving on to step 5:
When dividing 371 by 45, we get 8 with a remainder of 11.
The next digit of our result is 8. 
Result so far: 768.0
If we take 360 away from 371, we end up with 11.
Bring next digit (2) of the dividend behind the 11 and repeat the process: 112 / 45

Step 6:
When dividing 112 by 45, we get 2 with a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 7682.0
Deduct 90 from 112 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
45 goes into 220 4 times with a remainder of 40.
Write down 4 as next digit of the result. 
Result so far: 7682.4
If we subtract 180 from 220, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 8:
When dividing 400 by 45, we get 8 with a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 7682.48
The remainder is 40 after subtracting 360 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 9:
400 divided by 45 is 8 with a remainder of 40.
The next digit of our result is 8. 
Result so far: 7682.488
Deduct 360 from 400 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 7682.488 and a remainder of 0.004.