Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string to integer

<script language="JavaScript" type="text/javascript"> 
var a = "3.3445";
var c = parseInt(a);
alert(c);
</script>
 
PREVIOUS NEXT
Tagged: #javascript #string #integer
ADD COMMENT
Topic
Name
7+3 =