How to check if number is a decimal?
<p>I create android app for dividing numbers.</p>

<pre><code>int a,b;

int result = a/b;

if (result==decimal){

Log.v ("result","your result number is decimal")

} else {

Log.v ("result","your result number is not decimal")

}
</code></pre>

<p>How can I check if <code>result</code> is a decimal?</p>
