We're dividing 38998179 by 524 
We want to divide 38998179 by 524.

On to step 1:
If we divide 3 by 524, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 524

On to step 2:
The number 524 fits into 38 0 times, leaving a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 524

Moving on to step 3:
524 goes into 389 0 times with a remainder of 389.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 389 and we're left with 389.
Include the next digit (9) from the dividend after 389, then repeat: 3899 / 524

On to step 4:
524 goes into 3899 7 times with a remainder of 231.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtract 3668 from 3899 to get 231.
Include the next digit (8) from the dividend after 231, then repeat: 2318 / 524

Let's proceed to step 5:
The number 524 fits into 2318 4 times, leaving a remainder of 222.
Record the quotient 4 as the next digit in the result. 
Result so far: 74.0
Subtract 2096 from 2318 to get 222.
Include the next digit (1) from the dividend after 222, then repeat: 2221 / 524

Step 6:
The number 524 fits into 2221 4 times, leaving a remainder of 125.
Write down 4 as next digit of the result. 
Result so far: 744.0
Subtract 2096 from 2221 to get 125.
Bring next digit (7) of the dividend behind the 125 and repeat the process: 1257 / 524

Advancing to step 7:
524 goes into 1257 2 times with a remainder of 209.
Record the quotient 2 as the next digit in the result. 
Result so far: 7442.0
If we take 1048 away from 1257, we end up with 209.
Fetch the next digit (9) from the dividend, attach it to 209 and continue: 2099 / 524

Advancing to step 8:
If we divide 2099 by 524, we get 4 and a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 74424.0
Subtract 2096 from 2099 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 9:
524 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 74424.0
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 10:
300 divided by 524 is 0 with a remainder of 300.
Record the quotient 0 as the next digit in the result. 
Result so far: 74424.0
The remainder is 300 after subtracting 0 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Our division results in 74424.0 with a remaining 0.3.