311334 ÷ 45 
Let's see how many times 45 fits into 311334.

Step 1:
The number 45 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 45

Let's proceed to step 2:
45 can be fit into 31 0 times, resulting in a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Include the next digit (1) from the dividend after 31, then repeat: 311 / 45

Step 3:
45 goes into 311 6 times with a remainder of 41.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Deduct 270 from 311 and we're left with 41.
Grab the next digit (3) from the dividend, add it to 41, then carry on: 413 / 45

Advancing to step 4:
45 goes into 413 9 times with a remainder of 8.
Use 9 as the next digit of our solution. 
Result so far: 69.0
Subtracting 405 from 413 leaves us with 8.
Fetch the next digit (3) from the dividend, attach it to 8 and continue: 83 / 45

Advancing to step 5:
45 can be fit into 83 1 times, resulting in a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 691.0
If we take 45 away from 83, we end up with 38.
Take the next digit (4) from the dividend and append it to 38, then repeat: 384 / 45

Going ahead to step 6:
45 goes into 384 8 times with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 6918.0
Deduct 360 from 384 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 7:
If we divide 240 by 45, we get 5 and a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 6918.5
Subtract 225 from 240 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
45 can be fit into 150 3 times, resulting in a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 6918.53
The remainder is 15 after subtracting 135 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 9:
45 goes into 150 3 times with a remainder of 15.
The number 3 becomes the next digit in our result. 
Result so far: 6918.533
The remainder is 15 after subtracting 135 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The final outcome is 6918.533, with a leftover of 0.0015.