Jump to content
Sign in to follow this  

Script Pentru Convertire Temperatura

Recommended Posts

Acest JavaScript converteste temperatura din grade Celsius in grade Fahrenheit si invers.



<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>PC Troubleshooting Conversie Grade</title>

<script LANGUAGE="JavaScript">
function celtofar (form)
form.fahrenheit.value = form.celsius.value*1.8+32
function fartocel (form)
form.celsius.value = round((form.fahrenheit.value-32)/1.8)

<INPUT TYPE ="text" NAME="celsius" SIZE=15
onkeypress ="celtofar(this.form)">
<INPUT TYPE="text" NAME="fahrenheit" SIZE=15
onkeypress ="fartocel(this.form)">



Share this post

Link to post
Share on other sites

Acest fisier nu exista.

incearca alt file sharing...

pana una alta am adaugat si primului post un exemplu constand intr-o poza:


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.