Let's divide 338299 by 45
Let's see how many times 45 fits into 338299.

Going ahead 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
If we subtract 0 from 3, we get 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 45

Step 2:
33 divided by 45 is 0 with a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 33 after subtracting 0 from 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 45

Moving on to step 3:
The number 45 fits into 338 7 times, leaving a remainder of 23.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we take 315 away from 338, we end up with 23.
Fetch the next digit (2) from the dividend, attach it to 23 and continue: 232 / 45

On to step 4:
232 divided by 45 is 5 with a remainder of 7.
Write down 5 as next digit of the result. 
Result so far: 75.0
Deduct 225 from 232 and we're left with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 45

On to step 5:
45 goes into 79 1 times with a remainder of 34.
Use 1 as the next digit of our solution. 
Result so far: 751.0
Deduct 45 from 79 and we're left with 34.
Append the next digit (9) from the dividend to 34 and continue with: 349 / 45

On to step 6:
When dividing 349 by 45, we get 7 with a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 7517.0
If we take 315 away from 349, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 7:
340 divided by 45 is 7 with a remainder of 25.
Use 7 as the next digit of our solution. 
Result so far: 7517.7
The remainder is 25 after subtracting 315 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
250 divided by 45 is 5 with a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 7517.75
The remainder is 25 after subtracting 225 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
When dividing 250 by 45, we get 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 7517.755
Subtracting 225 from 250 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The quotient of the division is 7517.755, and the remainder is 0.0025.