Let's divide 338145 by 58
We're looking to find how many times 58 goes into 338145.

On to step 1:
When dividing 3 by 58, we get 0 with 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.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 58

Let's proceed to step 2:
When dividing 33 by 58, we get 0 with a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 33, we end up with 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 58

Moving on to step 3:
The number 58 fits into 338 5 times, leaving a remainder of 48.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 290 away from 338, we end up with 48.
Append the next digit (1) from the dividend to 48 and continue with: 481 / 58

Advancing to step 4:
If we divide 481 by 58, we get 8 and a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 58.0
Subtract 464 from 481 to get 17.
Grab the next digit (4) from the dividend, add it to 17, then carry on: 174 / 58

Going ahead to step 5:
If we divide 174 by 58, we get 3 and a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 583.0
The remainder is 0 after subtracting 174 from 174.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 58

Advancing to step 6:
The number 58 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 5830.0
The remainder is 5 after subtracting 0 from 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
If we divide 50 by 58, we get 0 and a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 5830.0
Subtract 0 from 50 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 8:
If we divide 500 by 58, we get 8 and a remainder of 36.
The next digit of our result is 8. 
Result so far: 5830.08
If we take 464 away from 500, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 9:
360 divided by 58 is 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 5830.086
Subtract 348 from 360 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
58 goes into 120 2 times with a remainder of 4.
The next digit of our result is 2. 
Result so far: 5830.0862
Deduct 116 from 120 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 11:
58 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 5830.0862
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 12:
The number 58 fits into 400 6 times, leaving a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 5830.086206
Deduct 348 from 400 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 13:
58 can be fit into 520 8 times, resulting in a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 5830.0862068
Subtract 464 from 520 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 14:
58 goes into 560 9 times with a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 5830.08620689
Deduct 522 from 560 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The final outcome is 5830.08620689, with a leftover of 3.8e-08.