Hey guys I was wondering if anyone knew how to create a currency converter using html programming, here are the guidelines I am looking for :
Develop an HTML/JavaScript program that creates a web page that can be used as a GUI to convert U.S. currency to Canadian dollars, British Pound, or Euro. The conversion formulas are:
1 US $ = 0.974 Canadian Dollar
1 US $ = 0.492 British Pound
1 US $ = 0.706 Euro
program should be able to convert values of $100 million or more.
Thanks for all the help I really appreciate it
here is what I have so far
[HTML]<!Currency Converter-->
<Html>
<head>
<title> Currency Converter</title>
<script language="javascript">
function convert(){
if (document.conversions.choice[0].checked){
var result= eval(document.conversions.degree.value*1=0.974);
document.conversions.convertedvalue.value=result;
var inputunit= "US Dollar";
document.conversions.inUnit.value= inputUnit;
var outputUnit="Canadian Dollar";
document.conversions.outUnit.value=outputUnit;
}//end if
<Body background="blue">
<form name = "Conversions">
<table border=6bgcolor="red">
<tr>
<td><font color="black"size=6>Enter Us dollar amount;</font>
<td><input type="text" name= "Dollar" size=4>
<td><input type="text" name= "Inunit" size= 20>
</tr>[/HTML]