We divide 322157 by 45
We want to figure out the number of times 322157 can be divided by 45.

Let's proceed to step 1:
If we divide 3 by 45, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 45

Let's proceed to step 2:
45 goes into 32 0 times with a remainder of 32.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 32 to get 32.
Fetch the next digit (2) from the dividend, attach it to 32 and continue: 322 / 45

On to step 3:
45 can be fit into 322 7 times, resulting in a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we take 315 away from 322, we end up with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 45

Going ahead to step 4:
If we divide 71 by 45, we get 1 and a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 71.0
Subtracting 45 from 71 leaves us with 26.
Fetch the next digit (5) from the dividend, attach it to 26 and continue: 265 / 45

Let's proceed to step 5:
The number 45 fits into 265 5 times, leaving a remainder of 40.
Use 5 as the next digit of our solution. 
Result so far: 715.0
Subtracting 225 from 265 leaves us with 40.
Bring next digit (7) of the dividend behind the 40 and repeat the process: 407 / 45

Step 6:
45 goes into 407 9 times with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 7159.0
Deduct 405 from 407 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
The number 45 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 7159.0
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
If we divide 200 by 45, we get 4 and a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 7159.04
If we subtract 180 from 200, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
The number 45 fits into 200 4 times, leaving a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 7159.044
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 7159.044, and the remainder is 0.002.