»
AnglaisFran�aisVietnamien

Imprimer - Functional Calculatrice - JavaScriptBank.com

Version compl�te: jsB@nk » Calcul » Calculatrice » Functional Calculatrice
URL: https://www.javascriptbank.com/functional-calculator.html

Functional Calculatrice © JavaScriptBank.comFournit toutes les fonctions de base, y compris finding la racine carrée. Un petit mais puissant de script.

Version compl�te: jsB@nk » Calcul » Calculatrice » Functional Calculatrice
URL: https://www.javascriptbank.com/functional-calculator.html



HTML
<input id="display" style="width:160;text-align:right" readonly><br><input type="button" value=" 1 " onClick="display.value += '1'"><input type="button" value=" 2 " onClick="display.value += '2'"><input type="button" value=" 3 " onClick="display.value += '3'"><input type="button" value=" 4 " onClick="display.value += '4'"><br><input type="button" value=" 5 " onClick="display.value += '5'"><input type="button" value=" 6 " onClick="display.value += '6'"><input type="button" value=" 7 " onClick="display.value += '7'"><input type="button" value=" 8 " onClick="display.value += '8'"><br><input type="button" value=" 9 " onClick="display.value += '9'"><input type="button" value=" 0 " onClick="display.value += '0'"><input type="button" value=" .  " onClick="display.value += '.'" onMouseover="info.value = 'Add Decimal'" onMouseout="info.value = ''"><input type="button" value=" C " onClick="display.value = ''" onMouseover="info.value = 'Clear'" onMouseout="info.value = ''"><br><input type="button" value=" *  " onClick="display.value += ' * '" onMouseover="info.value = 'Multiply'" onMouseout="info.value = ''"><input type="button" value=" /  " onClick="display.value += ' / '" onMouseover="info.value = 'Divide'" onMouseout="info.value = ''"><input type="button" value=" -  " onClick="display.value += ' - '" onMouseover="info.value = 'Subtract'" onMouseout="info.value = ''"><input type="button" value=" +  " onClick="display.value += ' + '" onMouseover="info.value = 'Add'" onMouseout="info.value = ''"><br><input type="button" value="   sqrt   " onClick="display.value = Math.sqrt(display.value)" onMouseover="info.value = 'Find Square Root'" onMouseout="info.value = ''"><input type="button" value="   Calculate   " onClick="display.value = eval(display.value)" onMouseover="info.value = 'Evaluate ' + display.value" onMouseout="info.value = ''" style="width:80"><br>Info:<br><input id="info" style="width:160" readonly><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->