title: How to cut decimal number like this using php?
body: <p>How to cut decimal number like this using php ?</p>
  
  <p><code>1.20</code> cut decimal number to <code>1.2</code></p>
  
  <p><code>1.00</code> cut decimal number to <code>1</code></p>
  
  <p><code>1.02</code> do not cut decimal number</p>
  
  <p>I tried using <code>round</code> , <code>ceil</code> , <code>floor</code> but not work </p>
  
  <p>How can i do that ?</p>