Adscend

Click Here



Click Here

Tuesday

Data Type Convert Float to String

iv)Float to String

Syntax: parseFloat(string)

Float value can be converted to string by using the function or method toString() or parseFloat.


Example

<html>
<body>

<script type="text/javascript">

var a = 5.33;
a.toString();
var c = a.toString();
document.write("Float to String is  "+c);
</script>

</body>
</html>

Output





No comments:

Post a Comment