Convert string to float : Boolean Utilities : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  Development   » [  Boolean Utilities  ]   
 



Convert string to float

Please note that some example is only working under IE or Firefox.


<html>
<head>
<title>DynAPI Examples - Functions</title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.library');
dynapi.library.include('dynapi.functions');
dynapi.library.include('dynapi.api');
</script>
</head>
<body>
<font face="arial" size="2">
<script>
var doc=document;
f=dynapi.functions;


doc.write('toFloat: '+f.toFloat('20,000.53')+'<br><br>');
</script>
</font>
</body>
</html>
           
       
Download: dynapi.zip   ( 791  K )  
Related examples in the same category
1.  Convert 'true', 'false' to booleanHas Download File
2.  Choose value based on boolean expressionHas Download File
3.  Convert string to integerHas Download File
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.