We're dividing 4145640 by 333 
Let's see how many times 333 fits into 4145640.

Step 1:
333 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 333

Moving on to step 2:
If we divide 41 by 333, we get 0 and a remainder of 41.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 41, we end up with 41.
Include the next digit (4) from the dividend after 41, then repeat: 414 / 333

Advancing to step 3:
333 goes into 414 1 times with a remainder of 81.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 81 after subtracting 333 from 414.
Take the next digit (5) from the dividend and append it to 81, then repeat: 815 / 333

Going ahead to step 4:
815 divided by 333 is 2 with a remainder of 149.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 666 from 815, we get 149.
Include the next digit (6) from the dividend after 149, then repeat: 1496 / 333

Advancing to step 5:
333 can be fit into 1496 4 times, resulting in a remainder of 164.
The next digit of our result is 4. 
Result so far: 124.0
If we take 1332 away from 1496, we end up with 164.
Fetch the next digit (4) from the dividend, attach it to 164 and continue: 1644 / 333

Going ahead to step 6:
If we divide 1644 by 333, we get 4 and a remainder of 312.
Write down 4 as next digit of the result. 
Result so far: 1244.0
Deduct 1332 from 1644 and we're left with 312.
Bring next digit (0) of the dividend behind the 312 and repeat the process: 3120 / 333

Going ahead to step 7:
333 can be fit into 3120 9 times, resulting in a remainder of 123.
The next digit of our result is 9. 
Result so far: 12449.0
Subtracting 2997 from 3120 leaves us with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Moving on to step 8:
When dividing 1230 by 333, we get 3 with a remainder of 231.
The next digit of our result is 3. 
Result so far: 12449.3
Deduct 999 from 1230 and we're left with 231.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2310, and continue the process.

Advancing to step 9:
333 goes into 2310 6 times with a remainder of 312.
The number 6 becomes the next digit in our result. 
Result so far: 12449.36
Deduct 1998 from 2310 and we're left with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Going ahead to step 10:
333 goes into 3120 9 times with a remainder of 123.
Write down 9 as next digit of the result. 
Result so far: 12449.369
If we subtract 2997 from 3120, we get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Let's proceed to step 11:
1230 divided by 333 is 3 with a remainder of 231.
Use 3 as the next digit of our solution. 
Result so far: 12449.3693
Subtract 999 from 1230 to get 231.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2310, and continue the process.

Moving on to step 12:
If we divide 2310 by 333, we get 6 and a remainder of 312.
The number 6 becomes the next digit in our result. 
Result so far: 12449.36936
Subtracting 1998 from 2310 leaves us with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Moving on to step 13:
When dividing 3120 by 333, we get 9 with a remainder of 123.
The next digit of our result is 9. 
Result so far: 12449.369369
Subtract 2997 from 3120 to get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

Advancing to step 14:
333 can be fit into 1230 3 times, resulting in a remainder of 231.
Put 3 as the next digit of the answer. 
Result so far: 12449.3693693
The remainder is 231 after subtracting 999 from 1230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2310, and continue the process.

Moving on to step 15:
333 goes into 2310 6 times with a remainder of 312.
Put 6 as the next digit of the answer. 
Result so far: 12449.36936936
Deduct 1998 from 2310 and we're left with 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

The final result is 12449.36936936 with a remainder of 3.12e-07.