Number format Demo : Number Format : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP


JavaScript DHTML  »  Development   » [  Number Format  ]   
 



Number format Demo

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('formatNumber: '+f.formatNumber('-5353535.56363','$#,##0.00')+'<br><br>');
</script>
</font>
</body>
</html>
           
       
Download: dynapi.zip   ( 791  K )  
Related examples in the same category
1.  Number format, round and total
2.  A Generic Number-Formatting Routine
























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