40360191 ÷ 782 
Our goal is to divide 40360191 by 782.

On to step 1:
The number 782 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 782

Moving on to step 2:
When dividing 40 by 782, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 782

Moving on to step 3:
When dividing 403 by 782, we get 0 with a remainder of 403.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 403, we get 403.
Grab the next digit (6) from the dividend, add it to 403, then carry on: 4036 / 782

On to step 4:
If we divide 4036 by 782, we get 5 and a remainder of 126.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 126 after subtracting 3910 from 4036.
Fetch the next digit (0) from the dividend, attach it to 126 and continue: 1260 / 782

On to step 5:
The number 782 fits into 1260 1 times, leaving a remainder of 478.
Write down 1 as next digit of the result. 
Result so far: 51.0
Subtract 782 from 1260 to get 478.
Append the next digit (1) from the dividend to 478 and continue with: 4781 / 782

Moving on to step 6:
When dividing 4781 by 782, we get 6 with a remainder of 89.
Put 6 as the next digit of the answer. 
Result so far: 516.0
Subtracting 4692 from 4781 leaves us with 89.
Include the next digit (9) from the dividend after 89, then repeat: 899 / 782

Advancing to step 7:
The number 782 fits into 899 1 times, leaving a remainder of 117.
Put 1 as the next digit of the answer. 
Result so far: 5161.0
If we subtract 782 from 899, we get 117.
Bring next digit (1) of the dividend behind the 117 and repeat the process: 1171 / 782

Step 8:
782 can be fit into 1171 1 times, resulting in a remainder of 389.
Write down 1 as next digit of the result. 
Result so far: 51611.0
Subtracting 782 from 1171 leaves us with 389.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3890, and continue the process.

Step 9:
If we divide 3890 by 782, we get 4 and a remainder of 762.
Write down 4 as next digit of the result. 
Result so far: 51611.4
Deduct 3128 from 3890 and we're left with 762.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7620, and continue the process.

On to step 10:
The number 782 fits into 7620 9 times, leaving a remainder of 582.
Put 9 as the next digit of the answer. 
Result so far: 51611.49
If we subtract 7038 from 7620, we get 582.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5820, and continue the process.

Going ahead to step 11:
The number 782 fits into 5820 7 times, leaving a remainder of 346.
Put 7 as the next digit of the answer. 
Result so far: 51611.497
Deduct 5474 from 5820 and we're left with 346.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3460, and continue the process.

On to step 12:
When dividing 3460 by 782, we get 4 with a remainder of 332.
Put 4 as the next digit of the answer. 
Result so far: 51611.4974
Subtract 3128 from 3460 to get 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Going ahead to step 13:
If we divide 3320 by 782, we get 4 and a remainder of 192.
Record the quotient 4 as the next digit in the result. 
Result so far: 51611.49744
Subtract 3128 from 3320 to get 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

In conclusion, the division gives 51611.49744 with a balance of 0.000192.