Let's divide 40299155 by 58
Our goal is to divide 40299155 by 58.

Going ahead to step 1:
58 goes into 4 0 times with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 58

Step 2:
58 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (2) of the dividend behind the 40 and repeat the process: 402 / 58

On to step 3:
If we divide 402 by 58, we get 6 and a remainder of 54.
Write down 6 as next digit of the result. 
Result so far: 6.0
The remainder is 54 after subtracting 348 from 402.
Take the next digit (9) from the dividend and append it to 54, then repeat: 549 / 58

Advancing to step 4:
If we divide 549 by 58, we get 9 and a remainder of 27.
Write down 9 as next digit of the result. 
Result so far: 69.0
If we subtract 522 from 549, we get 27.
Fetch the next digit (9) from the dividend, attach it to 27 and continue: 279 / 58

On to step 5:
58 goes into 279 4 times with a remainder of 47.
Write down 4 as next digit of the result. 
Result so far: 694.0
The remainder is 47 after subtracting 232 from 279.
Append the next digit (1) from the dividend to 47 and continue with: 471 / 58

Going ahead to step 6:
If we divide 471 by 58, we get 8 and a remainder of 7.
Record the quotient 8 as the next digit in the result. 
Result so far: 6948.0
Subtracting 464 from 471 leaves us with 7.
Fetch the next digit (5) from the dividend, attach it to 7 and continue: 75 / 58

Step 7:
75 divided by 58 is 1 with a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 69481.0
If we subtract 58 from 75, we get 17.
Append the next digit (5) from the dividend to 17 and continue with: 175 / 58

Step 8:
175 divided by 58 is 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 694813.0
Subtracting 174 from 175 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 9:
58 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 694813.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
If we divide 100 by 58, we get 1 and a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 694813.01
Subtracting 58 from 100 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 11:
When dividing 420 by 58, we get 7 with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 694813.017
Deduct 406 from 420 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 12:
140 divided by 58 is 2 with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 694813.0172
If we subtract 116 from 140, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 13:
When dividing 240 by 58, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 694813.01724
Deduct 232 from 240 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 14:
58 goes into 80 1 times with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 694813.017241
If we take 58 away from 80, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 15:
The number 58 fits into 220 3 times, leaving a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 694813.0172413
The remainder is 46 after subtracting 174 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 16:
The number 58 fits into 460 7 times, leaving a remainder of 54.
The next digit of our result is 7. 
Result so far: 694813.01724137
If we subtract 406 from 460, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

In conclusion, the division gives 694813.01724137 with a balance of 5.4e-08.