»
AnglaisFran�aisVietnamien

Imprimer - Diplômes à Radians - JavaScriptBank.com

Version compl�te: jsB@nk » Calcul » Équivalent » Diplômes à Radians
URL: https://www.javascriptbank.com/degrees-to-radians.html

Diplômes à Radians © JavaScriptBank.comUtiliser JavaScript convertir degrés en radians et vice-versa.

Version compl�te: jsB@nk » Calcul » Équivalent » Diplômes à Radians
URL: https://www.javascriptbank.com/degrees-to-radians.html



JavaScript
<SCRIPT LANGUAGE="JavaScript">// Sam Tyler ([email protected])function ra_de() {var pi = Math.PI;var ra_de = ((eval(document.forms[0].RADE.value))*(180/pi));document.forms[0].RADE.value = ra_de;}function de_ra() {var pi = Math.PI;var de_ra = ((eval(document.forms[0].RADE.value))*(pi/180));document.forms[0].RADE.value = de_ra;}function resetRADE() {document.forms[0].RADE.value="0";}// End --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM><INPUT TYPE=Button VALUE="Radians to Degrees"onClick="ra_de()"><INPUT TYPE=Button VALUE="Degrees to Radians"onClick="de_ra()"><br><INPUT NAME="RADE" TYPE="Text" VALUE="0" SIZE=25></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->