title: Removing decimals from dividing
body: <p>In a recent game I'm developing, I've made shops.
  When you buy an item and try to sell it, the selling price drops to 75% of what the buying price is. 
  After buying an item for 154 gold pieces, It says the shop will buy for 115.5 gold pieces, but you get 115 gold pieces from selling.</p>
  
  <p>I wish to remove the ".5" from "115.5"
  Any help is appreciated.</p>
  
  <pre><code>        int ShopValue = (int)Math.floor(getItemShopValue(removeId, 1, removeSlot));
          String ShopAdd = "";
          if (ShopValue &gt;= 1000 &amp;&amp; ShopValue &lt; 1000000) {
              ShopAdd = " (" + (ShopValue*.75 / 1000) + "k)";
          } else if (ShopValue &gt;= 100) {
              ShopAdd = " (" + (ShopValue*.75 / 1) + " coins)";
          } else if (ShopValue &gt;= 1000000) {
              ShopAdd = " (" + (ShopValue*.75 / 1000000) + " million)";
          } else if (ShopValue &gt;= 1000000000) {
              ShopAdd = " (" + (ShopValue*.75 / 1000000000) + " billion)";
          }
          c.sM(c.getItems().getItemName(removeId)+": shop will buy for &lt;col=255&gt;"+ShopAdd+"&lt;/col&gt; coins");
      }
  }
  </code></pre>