 <pre><code>//try this way, hope this will help you... String value = "5571.329849243164"; Toast.makeText(MyActivity.this,""+Math.round(Double.parseDouble(value)),Toast.LENGTH_SHORT).show(); </code></pre>