Full version: jsB@nk » Calculation » Calculator » Duli Mar's Calculator
URL: https://www.javascriptbank.com/duli-mar-calculator.html
A basic calculator.
Full version: jsB@nk » Calculation » Calculator » Duli Mar's Calculator
URL: https://www.javascriptbank.com/duli-mar-calculator.html
<form name="dmcalculator"> <div align="center"><center><table border="0" cellpadding="3" cellspacing="5"> <tbody><tr> <td align="center"><p align="center"><script language="JavaScript"><!--/////////////////////////////////////////////////////// Duli Mar's Calculator© v 2.0////////////////////////////////////////////////////function ligado(form){form.display.value = 0}function eds(form){form.display.value = 3.1415926535897932384626433832795;}function zero(form){form.display.value = form.display.value + 0;} function um(form){ form.display.value = form.display.value + 1;} function dois(form){ form.display.value = form.display.value + 2;} function tres(form){ form.display.value = form.display.value + 3;} function quatro(form){ form.display.value = form.display.value + 4;} function cinco(form){ form.display.value = form.display.value + 5;} function seis(form){ form.display.value = form.display.value + 6;} function sete(form){ form.display.value = form.display.value + 7;} function oito(form){form.display.value = form.display.value + 8;} function nove(form){form.display.value = form.display.value + 9;}function sum(form){}function dim(form){} function mul(form){}function div(form){}function duli(form){}/////////////////////////////// End/////////////////////////////window.status="Duli Mar's is Brazil!!!";// --></script><input type="text" size="24" name="display"></p> <hr> <p align="center"><input type="button" name="on" value="On" onclick="ligado(this.form)"><input type="reset" name="off" value="Off"><input type="button" name="pi" value="pi" onclick="eds(this.form)"><input type="button" name="equal" value=" = " onclick="duli(this.form)"></p> <p align="center"><input type="button" name="+" value=" + " onclick="sum(this.form)"><input type="button" name="-" value=" - " onclick="dim(this.form)"><input type="button" name="*" value=" * " onclick="mul(this.form)"><input type="button" name="/" value=" / " onclick="div(this.form)"></p> <p align="center"><input type="button" name="1" value=" 1 " onclick="um(this.form)"><input type="button" name="2" value=" 2 " onclick="dois(this.form)"><input type="button" name="3" value=" 3 " onclick="tres(this.form)"></p> <p align="center"><input type="button" name="4" value=" 4 " onclick="quatro(this.form)"><input type="button" name="5" value=" 5 " onclick="cinco(this.form)"><input type="button" name="6" value=" 6 " onclick="seis(this.form)"></p> <p align="center"><input type="button" name="7" value=" 7 " onclick="sete(this.form)"><input type="button" name="8" value=" 8 " onclick="oito(this.form)"><input type="button" name="9" value=" 9 " onclick="nove(this.form)"></p> <p align="center"><input type="button" name="0" value=" 0 " onclick="zero(this.form)"></p> <p align="center"><input type="button" name="about" value="About" onclick="alert("<<--Duli Mar's Tools-->>Esta ferramenta é uma das várias produzidas pela Duli Mar's");"></p> </td> </tr> </tbody></table> </center></div></form><strong>Duli says au,au.</strong><br><hr width="75%"><a href="mailto:[email protected]"><strong>E-mail</strong></a><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->