We're dividing 40155439 by 978 
Let's see how many times 978 fits into 40155439.

Advancing to step 1:
The number 978 fits into 4 0 times, leaving a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 978

Advancing to step 2:
If we divide 40 by 978, we get 0 and a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 978

Advancing to step 3:
401 divided by 978 is 0 with a remainder of 401.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 401 to get 401.
Append the next digit (5) from the dividend to 401 and continue with: 4015 / 978

Advancing to step 4:
When dividing 4015 by 978, we get 4 with a remainder of 103.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 3912 from 4015 and we're left with 103.
Bring next digit (5) of the dividend behind the 103 and repeat the process: 1035 / 978

Let's proceed to step 5:
1035 divided by 978 is 1 with a remainder of 57.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
If we subtract 978 from 1035, we get 57.
Fetch the next digit (4) from the dividend, attach it to 57 and continue: 574 / 978

Step 6:
The number 978 fits into 574 0 times, leaving a remainder of 574.
Use 0 as the next digit of our solution. 
Result so far: 410.0
If we take 0 away from 574, we end up with 574.
Append the next digit (3) from the dividend to 574 and continue with: 5743 / 978

Let's proceed to step 7:
When dividing 5743 by 978, we get 5 with a remainder of 853.
Record the quotient 5 as the next digit in the result. 
Result so far: 4105.0
Subtract 4890 from 5743 to get 853.
Include the next digit (9) from the dividend after 853, then repeat: 8539 / 978

Step 8:
The number 978 fits into 8539 8 times, leaving a remainder of 715.
The next digit of our result is 8. 
Result so far: 41058.0
If we take 7824 away from 8539, we end up with 715.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7150, and continue the process.

Moving on to step 9:
7150 divided by 978 is 7 with a remainder of 304.
The number 7 becomes the next digit in our result. 
Result so far: 41058.7
The remainder is 304 after subtracting 6846 from 7150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Advancing to step 10:
The number 978 fits into 3040 3 times, leaving a remainder of 106.
Record the quotient 3 as the next digit in the result. 
Result so far: 41058.73
Subtract 2934 from 3040 to get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Let's proceed to step 11:
The number 978 fits into 1060 1 times, leaving a remainder of 82.
The number 1 becomes the next digit in our result. 
Result so far: 41058.731
If we subtract 978 from 1060, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Going ahead to step 12:
When dividing 820 by 978, we get 0 with a remainder of 820.
Record the quotient 0 as the next digit in the result. 
Result so far: 41058.731
Deduct 0 from 820 and we're left with 820.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8200, and continue the process.

On to step 13:
If we divide 8200 by 978, we get 8 and a remainder of 376.
The next digit of our result is 8. 
Result so far: 41058.73108
Deduct 7824 from 8200 and we're left with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Let's proceed to step 14:
The number 978 fits into 3760 3 times, leaving a remainder of 826.
Write down 3 as next digit of the result. 
Result so far: 41058.731083
If we take 2934 away from 3760, we end up with 826.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8260, and continue the process.

Let's proceed to step 15:
978 goes into 8260 8 times with a remainder of 436.
Use 8 as the next digit of our solution. 
Result so far: 41058.7310838
Deduct 7824 from 8260 and we're left with 436.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Moving on to step 16:
If we divide 4360 by 978, we get 4 and a remainder of 448.
The number 4 becomes the next digit in our result. 
Result so far: 41058.73108384
The remainder is 448 after subtracting 3912 from 4360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

The final outcome is 41058.73108384, with a leftover of 4.48e-07.