Let's divide 40299231 by 89
We want to divide 40299231 by 89.

Let's proceed to step 1:
If we divide 4 by 89, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 89

Let's proceed to step 2:
89 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Grab the next digit (2) from the dividend, add it to 40, then carry on: 402 / 89

Advancing to step 3:
402 divided by 89 is 4 with a remainder of 46.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 356 from 402 to get 46.
Bring next digit (9) of the dividend behind the 46 and repeat the process: 469 / 89

Let's proceed to step 4:
The number 89 fits into 469 5 times, leaving a remainder of 24.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
Subtracting 445 from 469 leaves us with 24.
Fetch the next digit (9) from the dividend, attach it to 24 and continue: 249 / 89

Going ahead to step 5:
The number 89 fits into 249 2 times, leaving a remainder of 71.
Put 2 as the next digit of the answer. 
Result so far: 452.0
Subtract 178 from 249 to get 71.
Take the next digit (2) from the dividend and append it to 71, then repeat: 712 / 89

On to step 6:
89 can be fit into 712 8 times, resulting in a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 4528.0
If we subtract 712 from 712, we get 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 89

Let's proceed to step 7:
If we divide 3 by 89, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 45280.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 89

Step 8:
The number 89 fits into 31 0 times, leaving a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 452800.0
Subtract 0 from 31 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 9:
The number 89 fits into 310 3 times, leaving a remainder of 43.
Record the quotient 3 as the next digit in the result. 
Result so far: 452800.3
The remainder is 43 after subtracting 267 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

On to step 10:
430 divided by 89 is 4 with a remainder of 74.
Record the quotient 4 as the next digit in the result. 
Result so far: 452800.34
Subtracting 356 from 430 leaves us with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 11:
89 can be fit into 740 8 times, resulting in a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 452800.348
Subtracting 712 from 740 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 12:
89 can be fit into 280 3 times, resulting in a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 452800.3483
The remainder is 13 after subtracting 267 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 13:
130 divided by 89 is 1 with a remainder of 41.
Use 1 as the next digit of our solution. 
Result so far: 452800.34831
The remainder is 41 after subtracting 89 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed to step 14:
89 goes into 410 4 times with a remainder of 54.
Record the quotient 4 as the next digit in the result. 
Result so far: 452800.348314
If we subtract 356 from 410, 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.

Moving on to step 15:
89 goes into 540 6 times with a remainder of 6.
The next digit of our result is 6. 
Result so far: 452800.3483146
If we subtract 534 from 540, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 16:
89 goes into 60 0 times with a remainder of 60.
Put 0 as the next digit of the answer. 
Result so far: 452800.3483146
Deduct 0 from 60 and we're left 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.

The quotient of the division is 452800.3483146, and the remainder is 6e-08.