40459172 divided by 978 
We want to divide 40459172 by 978.

Moving on to step 1:
978 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 978

Advancing to step 2:
978 can be fit into 40 0 times, resulting in a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (4) from the dividend to 40 and continue with: 404 / 978

Step 3:
404 divided by 978 is 0 with a remainder of 404.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 404 to get 404.
Take the next digit (5) from the dividend and append it to 404, then repeat: 4045 / 978

Step 4:
978 can be fit into 4045 4 times, resulting in a remainder of 133.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 3912 away from 4045, we end up with 133.
Bring next digit (9) of the dividend behind the 133 and repeat the process: 1339 / 978

Going ahead to step 5:
978 can be fit into 1339 1 times, resulting in a remainder of 361.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
Subtract 978 from 1339 to get 361.
Include the next digit (1) from the dividend after 361, then repeat: 3611 / 978

Going ahead to step 6:
If we divide 3611 by 978, we get 3 and a remainder of 677.
Put 3 as the next digit of the answer. 
Result so far: 413.0
If we take 2934 away from 3611, we end up with 677.
Take the next digit (7) from the dividend and append it to 677, then repeat: 6777 / 978

Let's proceed to step 7:
6777 divided by 978 is 6 with a remainder of 909.
Put 6 as the next digit of the answer. 
Result so far: 4136.0
Deduct 5868 from 6777 and we're left with 909.
Fetch the next digit (2) from the dividend, attach it to 909 and continue: 9092 / 978

Let's proceed to step 8:
978 goes into 9092 9 times with a remainder of 290.
Record the quotient 9 as the next digit in the result. 
Result so far: 41369.0
The remainder is 290 after subtracting 8802 from 9092.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 9:
When dividing 2900 by 978, we get 2 with a remainder of 944.
Record the quotient 2 as the next digit in the result. 
Result so far: 41369.2
If we take 1956 away from 2900, we end up with 944.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9440, and continue the process.

Advancing to step 10:
If we divide 9440 by 978, we get 9 and a remainder of 638.
Put 9 as the next digit of the answer. 
Result so far: 41369.29
The remainder is 638 after subtracting 8802 from 9440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6380, and continue the process.

Moving on to step 11:
If we divide 6380 by 978, we get 6 and a remainder of 512.
Write down 6 as next digit of the result. 
Result so far: 41369.296
If we subtract 5868 from 6380, we get 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

Moving on to step 12:
978 can be fit into 5120 5 times, resulting in a remainder of 230.
Put 5 as the next digit of the answer. 
Result so far: 41369.2965
Subtract 4890 from 5120 to get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Advancing to step 13:
When dividing 2300 by 978, we get 2 with a remainder of 344.
Use 2 as the next digit of our solution. 
Result so far: 41369.29652
Subtracting 1956 from 2300 leaves us with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Step 14:
3440 divided by 978 is 3 with a remainder of 506.
Put 3 as the next digit of the answer. 
Result so far: 41369.296523
Subtracting 2934 from 3440 leaves us with 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Advancing to step 15:
978 goes into 5060 5 times with a remainder of 170.
Record the quotient 5 as the next digit in the result. 
Result so far: 41369.2965235
If we subtract 4890 from 5060, we get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Advancing to step 16:
The number 978 fits into 1700 1 times, leaving a remainder of 722.
Use 1 as the next digit of our solution. 
Result so far: 41369.29652351
Subtracting 978 from 1700 leaves us with 722.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7220, and continue the process.

The final outcome is 41369.29652351, with a leftover of 7.22e-07.