Edit The Code:
See Result »
Try it Yourself - ©
w3big.com
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> document.write(FormatCurrency(1000000,,,,0) & "<br>") document.write(FormatCurrency(1000000,,,,-1)) </script> </body> </html>