Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Celcius to Fahrenheit

Status
Not open for further replies.

dburnham

Programmer
Oct 18, 2001
118
US
I am receiving a variable that represents a celcius temperature. I need to display this variable as fahrenheit. Any thoughts?

David
 
This is a simple math conversion. The problem is how are you receiving your variable? Is it via some server side scripting (php, asp, perl, coldfusion)? Or is your only chance of converting javascript? In any way, pure HTML can't do much about it. It's just a presentation language and can't really convert values.
 
The plot thickens. The web pages are stored on an Echelon iLon web Server.(Used for Automated Facilities)I am receiving the variable from a temperature sensing unit. The "iLonWeb" code below is interpreted from the web server. The code below says to display (func=ShowValue) the information coming from this address "symbol=NVE_AS:SN.DM:0.SU:2.NO:1.ST:UA.PR:0.AU:0.SY:0.NI:0.NS:0.RY:3.TX:192.TY:105.SZ:2"

<iLonWeb func=ShowValue symbol=NVE_AS:SN.DM:0.SU:2.NO:1.ST:UA.PR:0.AU:0.SY:0.NI:0.NS:0.RY:3.TX:192.TY:105.SZ:2></iLonWeb>

Any help with the Java concept.

David
 
Hmmm, how good are you in Javascript? If you understand it, maybe you can use a nice function dwarfthrower wrote, which changes the certain words into links on page load. You can find it here:

thread215-668362 than that, try asking in the Javascript forum, you're bound to have more luck there :)

Javascript forum: forum216
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top