Best Download Sites Login
Site Login

Square Root

Description
Allows you to find the value of a number squared or that number's square root....View A Script Demo


Do you find it confusing setting up these script?
Java Scripts Magic can do all the hard work for you all At The Touch Of A Button.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original:  Adam Hinz (ajhinz@zworg.com) -->
<!-- Web Site:  http://www3.cybercities.com/a/ajhinz -->
<!-- Modified By:  Ronnie T. Moore -->

<!-- Begin
function sqRt(form) {
var number = form.num.value;
var ans = Math.sqrt(number);
form.answer.value = ans;
}
function sqIt(form) {
var number = form.num.value;
var ans = eval(number * number);
form.answer.value = ans;
}
//  End -->
</script>

</HEAD>

<BODY Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<form>
<table border=1>
<tr>
<td>
<input type=text name=num size=10>
</td>
<td>
<input type=button value="Sq. Root" onClick="sqRt(this.form)"><br>
<input type=button value="Square It" onClick="sqIt(this.form)">
</td>
<td>
<input type=text name=answer size=15><br>
<input type=button value="<-- copy back" onClick="this.form.num.value = this.form.answer.value">
</td>
</tr>
</table>
</form>

</center>
</BODY>
</HTML>
 

Business Proposal If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail