Let's divide 40859767 by 358
We want to divide 40859767 by 358.

Going ahead to step 1:
If we divide 4 by 358, we get 0 and 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 / 358

Step 2:
If we divide 40 by 358, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 358

Going ahead to step 3:
If we divide 408 by 358, we get 1 and a remainder of 50.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 358 from 408 leaves us with 50.
Include the next digit (5) from the dividend after 50, then repeat: 505 / 358

Advancing to step 4:
358 goes into 505 1 times with a remainder of 147.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 358 from 505 leaves us with 147.
Bring next digit (9) of the dividend behind the 147 and repeat the process: 1479 / 358

Let's proceed to step 5:
358 can be fit into 1479 4 times, resulting in a remainder of 47.
Record the quotient 4 as the next digit in the result. 
Result so far: 114.0
If we take 1432 away from 1479, we end up with 47.
Fetch the next digit (7) from the dividend, attach it to 47 and continue: 477 / 358

Step 6:
358 goes into 477 1 times with a remainder of 119.
The number 1 becomes the next digit in our result. 
Result so far: 1141.0
Deduct 358 from 477 and we're left with 119.
Bring next digit (6) of the dividend behind the 119 and repeat the process: 1196 / 358

On to step 7:
The number 358 fits into 1196 3 times, leaving a remainder of 122.
The number 3 becomes the next digit in our result. 
Result so far: 11413.0
Subtract 1074 from 1196 to get 122.
Fetch the next digit (7) from the dividend, attach it to 122 and continue: 1227 / 358

Advancing to step 8:
If we divide 1227 by 358, we get 3 and a remainder of 153.
Record the quotient 3 as the next digit in the result. 
Result so far: 114133.0
Subtract 1074 from 1227 to get 153.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1530, and continue the process.

Let's proceed to step 9:
1530 divided by 358 is 4 with a remainder of 98.
Use 4 as the next digit of our solution. 
Result so far: 114133.4
The remainder is 98 after subtracting 1432 from 1530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Advancing to step 10:
358 can be fit into 980 2 times, resulting in a remainder of 264.
The number 2 becomes the next digit in our result. 
Result so far: 114133.42
The remainder is 264 after subtracting 716 from 980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Moving on to step 11:
If we divide 2640 by 358, we get 7 and a remainder of 134.
Record the quotient 7 as the next digit in the result. 
Result so far: 114133.427
The remainder is 134 after subtracting 2506 from 2640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Advancing to step 12:
358 can be fit into 1340 3 times, resulting in a remainder of 266.
Write down 3 as next digit of the result. 
Result so far: 114133.4273
If we subtract 1074 from 1340, we get 266.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2660, and continue the process.

Moving on to step 13:
358 can be fit into 2660 7 times, resulting in a remainder of 154.
Use 7 as the next digit of our solution. 
Result so far: 114133.42737
The remainder is 154 after subtracting 2506 from 2660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

On to step 14:
When dividing 1540 by 358, we get 4 with a remainder of 108.
The next digit of our result is 4. 
Result so far: 114133.427374
Subtract 1432 from 1540 to get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Step 15:
The number 358 fits into 1080 3 times, leaving a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 114133.4273743
The remainder is 6 after subtracting 1074 from 1080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 16:
358 can be fit into 60 0 times, resulting in a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 114133.4273743
If we take 0 away from 60, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

In conclusion, the division gives 114133.4273743 with a balance of 6e-08.