How to convert Double to int directly?
<p>May be this is silly question. I want to get rid of the fractional part of the <strong><code>Double</code></strong> number. But I cant do that. It shows the error that incompatible types. What to do?</p>

<p><code>Double to int</code> conversion in one line....please help thanks</p>
