We're dividing 5014485 by 334 
We want to divide 5014485 by 334.

On to step 1:
The number 334 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 334

Going ahead to step 2:
The number 334 fits into 50 0 times, leaving a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Bring next digit (1) of the dividend behind the 50 and repeat the process: 501 / 334

Advancing to step 3:
When dividing 501 by 334, we get 1 with a remainder of 167.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 334 away from 501, we end up with 167.
Fetch the next digit (4) from the dividend, attach it to 167 and continue: 1674 / 334

Step 4:
1674 divided by 334 is 5 with a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
Deduct 1670 from 1674 and we're left with 4.
Grab the next digit (4) from the dividend, add it to 4, then carry on: 44 / 334

Step 5:
When dividing 44 by 334, we get 0 with a remainder of 44.
The number 0 becomes the next digit in our result. 
Result so far: 150.0
Deduct 0 from 44 and we're left with 44.
Append the next digit (8) from the dividend to 44 and continue with: 448 / 334

On to step 6:
The number 334 fits into 448 1 times, leaving a remainder of 114.
The next digit of our result is 1. 
Result so far: 1501.0
Subtracting 334 from 448 leaves us with 114.
Fetch the next digit (5) from the dividend, attach it to 114 and continue: 1145 / 334

Moving on to step 7:
334 goes into 1145 3 times with a remainder of 143.
Use 3 as the next digit of our solution. 
Result so far: 15013.0
If we subtract 1002 from 1145, we get 143.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1430, and continue the process.

Moving on to step 8:
1430 divided by 334 is 4 with a remainder of 94.
Put 4 as the next digit of the answer. 
Result so far: 15013.4
Subtract 1336 from 1430 to get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Let's proceed to step 9:
334 goes into 940 2 times with a remainder of 272.
Put 2 as the next digit of the answer. 
Result so far: 15013.42
Subtracting 668 from 940 leaves us with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 10:
If we divide 2720 by 334, we get 8 and a remainder of 48.
The next digit of our result is 8. 
Result so far: 15013.428
Deduct 2672 from 2720 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 11:
If we divide 480 by 334, we get 1 and a remainder of 146.
Record the quotient 1 as the next digit in the result. 
Result so far: 15013.4281
Deduct 334 from 480 and we're left with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Let's proceed to step 12:
When dividing 1460 by 334, we get 4 with a remainder of 124.
Use 4 as the next digit of our solution. 
Result so far: 15013.42814
Subtracting 1336 from 1460 leaves us with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Moving on to step 13:
The number 334 fits into 1240 3 times, leaving a remainder of 238.
Put 3 as the next digit of the answer. 
Result so far: 15013.428143
Subtract 1002 from 1240 to get 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Advancing to step 14:
334 goes into 2380 7 times with a remainder of 42.
Record the quotient 7 as the next digit in the result. 
Result so far: 15013.4281437
Subtracting 2338 from 2380 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 15:
420 divided by 334 is 1 with a remainder of 86.
Record the quotient 1 as the next digit in the result. 
Result so far: 15013.42814371
Subtracting 334 from 420 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

After the division, we end up with 15013.42814371 and a remainder of 8.6e-08.