<script language="JavaScript" type="text/javascript"> var a = "3.3445"; var c = parseInt(a); alert(c); </script>