Let's divide 21977377 by 477
We want to divide 21977377 by 477.

Advancing to step 1:
477 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 477

Moving on to step 2:
When dividing 21 by 477, we get 0 with a remainder of 21.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 21 and we're left with 21.
Append the next digit (9) from the dividend to 21 and continue with: 219 / 477

Step 3:
When dividing 219 by 477, we get 0 with a remainder of 219.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 219 to get 219.
Take the next digit (7) from the dividend and append it to 219, then repeat: 2197 / 477

Let's proceed to step 4:
If we divide 2197 by 477, we get 4 and a remainder of 289.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we take 1908 away from 2197, we end up with 289.
Include the next digit (7) from the dividend after 289, then repeat: 2897 / 477

Step 5:
2897 divided by 477 is 6 with a remainder of 35.
The number 6 becomes the next digit in our result. 
Result so far: 46.0
Subtracting 2862 from 2897 leaves us with 35.
Append the next digit (3) from the dividend to 35 and continue with: 353 / 477

Step 6:
When dividing 353 by 477, we get 0 with a remainder of 353.
Write down 0 as next digit of the result. 
Result so far: 460.0
If we take 0 away from 353, we end up with 353.
Append the next digit (7) from the dividend to 353 and continue with: 3537 / 477

On to step 7:
3537 divided by 477 is 7 with a remainder of 198.
The number 7 becomes the next digit in our result. 
Result so far: 4607.0
If we take 3339 away from 3537, we end up with 198.
Append the next digit (7) from the dividend to 198 and continue with: 1987 / 477

Moving on to step 8:
1987 divided by 477 is 4 with a remainder of 79.
Write down 4 as next digit of the result. 
Result so far: 46074.0
Subtracting 1908 from 1987 leaves us with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Advancing to step 9:
477 can be fit into 790 1 times, resulting in a remainder of 313.
Write down 1 as next digit of the result. 
Result so far: 46074.1
Subtract 477 from 790 to get 313.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Step 10:
When dividing 3130 by 477, we get 6 with a remainder of 268.
Record the quotient 6 as the next digit in the result. 
Result so far: 46074.16
Subtract 2862 from 3130 to get 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Moving on to step 11:
2680 divided by 477 is 5 with a remainder of 295.
Record the quotient 5 as the next digit in the result. 
Result so far: 46074.165
If we subtract 2385 from 2680, we get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Moving on to step 12:
477 goes into 2950 6 times with a remainder of 88.
Record the quotient 6 as the next digit in the result. 
Result so far: 46074.1656
The remainder is 88 after subtracting 2862 from 2950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Step 13:
880 divided by 477 is 1 with a remainder of 403.
The number 1 becomes the next digit in our result. 
Result so far: 46074.16561
If we subtract 477 from 880, we get 403.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4030, and continue the process.

Moving on to step 14:
477 can be fit into 4030 8 times, resulting in a remainder of 214.
Put 8 as the next digit of the answer. 
Result so far: 46074.165618
If we subtract 3816 from 4030, we get 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Going ahead to step 15:
If we divide 2140 by 477, we get 4 and a remainder of 232.
Use 4 as the next digit of our solution. 
Result so far: 46074.1656184
Subtracting 1908 from 2140 leaves us with 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Step 16:
477 goes into 2320 4 times with a remainder of 412.
Use 4 as the next digit of our solution. 
Result so far: 46074.16561844
Subtract 1908 from 2320 to get 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

After the division, we end up with 46074.16561844 and a remainder of 4.12e-07.