title: Convert decimal number to INT SQL
body: <p>I want to convert the decimal number 3562.45 to 356245, either as an <code>int</code> or a <code>varchar</code>. I am using <code>cast(3562.45 as int)</code>, but it only returns 3562. How do I do it?</p>