Let's divide 3180345 by 506
We want to figure out the number of times 3180345 can be divided by 506.

Step 1:
If we divide 3 by 506, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 506

Step 2:
506 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (8) from the dividend after 31, then repeat: 318 / 506

On to step 3:
506 goes into 318 0 times with a remainder of 318.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 318 after subtracting 0 from 318.
Take the next digit (0) from the dividend and append it to 318, then repeat: 3180 / 506

Moving on to step 4:
The number 506 fits into 3180 6 times, leaving a remainder of 144.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Deduct 3036 from 3180 and we're left with 144.
Grab the next digit (3) from the dividend, add it to 144, then carry on: 1443 / 506

Advancing to step 5:
506 goes into 1443 2 times with a remainder of 431.
The next digit of our result is 2. 
Result so far: 62.0
If we take 1012 away from 1443, we end up with 431.
Fetch the next digit (4) from the dividend, attach it to 431 and continue: 4314 / 506

Going ahead to step 6:
506 can be fit into 4314 8 times, resulting in a remainder of 266.
Write down 8 as next digit of the result. 
Result so far: 628.0
Subtract 4048 from 4314 to get 266.
Take the next digit (5) from the dividend and append it to 266, then repeat: 2665 / 506

Going ahead to step 7:
When dividing 2665 by 506, we get 5 with a remainder of 135.
Use 5 as the next digit of our solution. 
Result so far: 6285.0
Subtracting 2530 from 2665 leaves us with 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Advancing to step 8:
1350 divided by 506 is 2 with a remainder of 338.
The number 2 becomes the next digit in our result. 
Result so far: 6285.2
The remainder is 338 after subtracting 1012 from 1350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3380, and continue the process.

Step 9:
3380 divided by 506 is 6 with a remainder of 344.
Write down 6 as next digit of the result. 
Result so far: 6285.26
Deduct 3036 from 3380 and we're left with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Moving on to step 10:
506 can be fit into 3440 6 times, resulting in a remainder of 404.
The number 6 becomes the next digit in our result. 
Result so far: 6285.266
Subtract 3036 from 3440 to get 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

In conclusion, the division gives 6285.266 with a balance of 0.0404.