Let's divide 5835322 by 402
Our goal is to divide 5835322 by 402.

Going ahead to step 1:
When dividing 5 by 402, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 402

Going ahead to step 2:
402 can be fit into 58 0 times, resulting in a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Append the next digit (3) from the dividend to 58 and continue with: 583 / 402

Step 3:
402 can be fit into 583 1 times, resulting in a remainder of 181.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 402 from 583 to get 181.
Grab the next digit (5) from the dividend, add it to 181, then carry on: 1815 / 402

Going ahead to step 4:
The number 402 fits into 1815 4 times, leaving a remainder of 207.
The next digit of our result is 4. 
Result so far: 14.0
Deduct 1608 from 1815 and we're left with 207.
Append the next digit (3) from the dividend to 207 and continue with: 2073 / 402

Moving on to step 5:
When dividing 2073 by 402, we get 5 with a remainder of 63.
Record the quotient 5 as the next digit in the result. 
Result so far: 145.0
Subtracting 2010 from 2073 leaves us with 63.
Grab the next digit (2) from the dividend, add it to 63, then carry on: 632 / 402

Advancing to step 6:
402 can be fit into 632 1 times, resulting in a remainder of 230.
Put 1 as the next digit of the answer. 
Result so far: 1451.0
Deduct 402 from 632 and we're left with 230.
Grab the next digit (2) from the dividend, add it to 230, then carry on: 2302 / 402

Moving on to step 7:
When dividing 2302 by 402, we get 5 with a remainder of 292.
Use 5 as the next digit of our solution. 
Result so far: 14515.0
If we take 2010 away from 2302, we end up with 292.
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 8:
2920 divided by 402 is 7 with a remainder of 106.
The number 7 becomes the next digit in our result. 
Result so far: 14515.7
Subtract 2814 from 2920 to get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Let's proceed to step 9:
1060 divided by 402 is 2 with a remainder of 256.
Write down 2 as next digit of the result. 
Result so far: 14515.72
If we take 804 away from 1060, we end up with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Advancing to step 10:
2560 divided by 402 is 6 with a remainder of 148.
The next digit of our result is 6. 
Result so far: 14515.726
Subtracting 2412 from 2560 leaves us with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Moving on to step 11:
402 can be fit into 1480 3 times, resulting in a remainder of 274.
Use 3 as the next digit of our solution. 
Result so far: 14515.7263
Subtract 1206 from 1480 to get 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

On to step 12:
402 can be fit into 2740 6 times, resulting in a remainder of 328.
Put 6 as the next digit of the answer. 
Result so far: 14515.72636
Subtract 2412 from 2740 to get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

On to step 13:
The number 402 fits into 3280 8 times, leaving a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 14515.726368
If we take 3216 away from 3280, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 14:
When dividing 640 by 402, we get 1 with a remainder of 238.
The next digit of our result is 1. 
Result so far: 14515.7263681
The remainder is 238 after subtracting 402 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

On to step 15:
402 goes into 2380 5 times with a remainder of 370.
Put 5 as the next digit of the answer. 
Result so far: 14515.72636815
If we subtract 2010 from 2380, we get 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Our division results in 14515.72636815 with a remaining 3.7e-07.