Temperature conversion scripts

Results 1 to 2 of 2

Thread: Temperature conversion scripts

  1. #1
    HelP! Guest

    Default Temperature conversion scripts

    Does anyone know how to convert temperatures from Celcius to Farenheit form a form using asp to process it?

  2. #2
    Join Date
    Dec 1969

    Default RE: Temperature conversion scripts

    Tc=(5/9)*(Tf-32); <BR>Tf=(9/5)*Tc+32<BR>Tc=temperature in degrees Celsius, Tf=temperature in degrees Fahrenheit <BR><BR>The above formula can be used. Take the value to be converted in a TextBox (txb1 <BR>&#060;%<BR><BR>Tc = Request.Form("txb1")<BR>Tf=(9/5)*Tc+32<BR>Response.Write "The corresponding temperature in Fahrenhiet is"_<BR>& Tf<BR>%&#062;<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts