Let's divide 1009590 by 502
We want to divide 1009590 by 502.

Let's proceed to step 1:
If we divide 1 by 502, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 502

Step 2:
If we divide 10 by 502, we get 0 and a remainder of 10.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 502

On to step 3:
The number 502 fits into 100 0 times, leaving a remainder of 100.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 100 to get 100.
Grab the next digit (9) from the dividend, add it to 100, then carry on: 1009 / 502

Let's proceed to step 4:
The number 502 fits into 1009 2 times, leaving a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 5 after subtracting 1004 from 1009.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 502

Let's proceed to step 5:
The number 502 fits into 55 0 times, leaving a remainder of 55.
Put 0 as the next digit of the answer. 
Result so far: 20.0
If we take 0 away from 55, we end up with 55.
Fetch the next digit (9) from the dividend, attach it to 55 and continue: 559 / 502

Let's proceed to step 6:
502 goes into 559 1 times with a remainder of 57.
Record the quotient 1 as the next digit in the result. 
Result so far: 201.0
Deduct 502 from 559 and we're left with 57.
Bring next digit (0) of the dividend behind the 57 and repeat the process: 570 / 502

On to step 7:
The number 502 fits into 570 1 times, leaving a remainder of 68.
Use 1 as the next digit of our solution. 
Result so far: 2011.0
Subtracting 502 from 570 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 8:
If we divide 680 by 502, we get 1 and a remainder of 178.
Use 1 as the next digit of our solution. 
Result so far: 2011.1
Subtracting 502 from 680 leaves us with 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1780, and continue the process.

Advancing to step 9:
The number 502 fits into 1780 3 times, leaving a remainder of 274.
Write down 3 as next digit of the result. 
Result so far: 2011.13
The remainder is 274 after subtracting 1506 from 1780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Advancing to step 10:
502 goes into 2740 5 times with a remainder of 230.
The number 5 becomes the next digit in our result. 
Result so far: 2011.135
Deduct 2510 from 2740 and we're left with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Advancing to step 11:
502 goes into 2300 4 times with a remainder of 292.
Record the quotient 4 as the next digit in the result. 
Result so far: 2011.1354
The remainder is 292 after subtracting 2008 from 2300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Advancing to step 12:
502 can be fit into 2920 5 times, resulting in a remainder of 410.
Record the quotient 5 as the next digit in the result. 
Result so far: 2011.13545
Subtract 2510 from 2920 to get 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Moving on to step 13:
When dividing 4100 by 502, we get 8 with a remainder of 84.
The number 8 becomes the next digit in our result. 
Result so far: 2011.135458
If we take 4016 away from 4100, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Let's proceed to step 14:
502 can be fit into 840 1 times, resulting in a remainder of 338.
Put 1 as the next digit of the answer. 
Result so far: 2011.1354581
Subtracting 502 from 840 leaves us with 338.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

Going ahead to step 15:
502 goes into 3380 6 times with a remainder of 368.
Put 6 as the next digit of the answer. 
Result so far: 2011.13545816
Subtracting 3012 from 3380 leaves us with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

In conclusion, the division gives 2011.13545816 with a balance of 3.68e-07.