v)Integer to String
Object.toString
Integer value can be converted to string by using the function or method toString().
Example
<script language="javascript">
var a = 5;
var b = 6;
var c = a.toString()+b;
document.write(" Converting Integer to String function: "+c);
</script>
Output
No comments:
Post a Comment