335965 ÷ 45 
We want to figure out the number of times 335965 can be divided by 45.

Moving on to step 1:
If we divide 3 by 45, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 45

Step 2:
The number 45 fits into 33 0 times, leaving a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Bring next digit (5) of the dividend behind the 33 and repeat the process: 335 / 45

Going ahead to step 3:
45 can be fit into 335 7 times, resulting in a remainder of 20.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 20 after subtracting 315 from 335.
Append the next digit (9) from the dividend to 20 and continue with: 209 / 45

Moving on to step 4:
45 goes into 209 4 times with a remainder of 29.
Put 4 as the next digit of the answer. 
Result so far: 74.0
Subtract 180 from 209 to get 29.
Grab the next digit (6) from the dividend, add it to 29, then carry on: 296 / 45

Going ahead to step 5:
If we divide 296 by 45, we get 6 and a remainder of 26.
Use 6 as the next digit of our solution. 
Result so far: 746.0
The remainder is 26 after subtracting 270 from 296.
Include the next digit (5) from the dividend after 26, then repeat: 265 / 45

Going ahead to step 6:
265 divided by 45 is 5 with a remainder of 40.
The next digit of our result is 5. 
Result so far: 7465.0
Subtract 225 from 265 to 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.

Going ahead to step 7:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 7465.8
If we subtract 360 from 400, 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.

Step 8:
45 goes into 400 8 times with a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 7465.88
Subtracting 360 from 400 leaves us 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 7465.88 and a remainder of 0.04.