title: How to Divide 1 value from input box to 10 another input box divided by 10 without rounding
body: <p>I am making a form to input Products to warehouse, So, the condition that i want is:</p>
  <blockquote>
  <p>When I type and enter a value in <strong>Quantity box</strong> (Blue circle), I want that value shown to another 10 input boxes pallet list (red circle), <strong>But</strong> it has to be <strong>69 Pcs</strong> in each box ( <strong>69 is only total that actually fit on the pallet in real warehouse</strong> ) and if it still have rest, put the last rest in the <strong>last box</strong>. This is the illustration that might help :</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/ySU3H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ySU3H.png" alt="enter image description here" /></a></p>
  <p>Say, I have produce <strong>630 PCS</strong> items, and when I put <strong>630</strong> to the Quantity Box, It should be shown <strong>69 PCS</strong> in every pallet list, <strong>69</strong> until it cannot be divided again. The rest of the divide, have to be placed on the last box.</p>
  <p><strong>Example :</strong></p>
  <blockquote>
  <p>Quantity : 630 PCS</p>
  <p>Pallet 1: 69</p>
  <p>Pallet 2: 69</p>
  <p>Pallet 3: 69</p>
  <p>Pallet 4: 69</p>
  <p>Pallet 5: 69</p>
  <p>Pallet 6: 69</p>
  <p>Pallet 7: 69</p>
  <p>Pallet 8: 69</p>
  <p>Pallet 9: 69</p>
  <p>Pallet 10: 9 (The rest have to be on the last pallet)</p>
  </blockquote>
  <p>Can someone help me? Thank you, Terima Kasih.</p>