TemperatureSensor Code Sample

Supporting Browser-based Javascript and Node.js
Fresh meat
Posts: 1
Joined: Wed Apr 03, 2019 3:32 pm

TemperatureSensor Code Sample

Postby TJsFX4 » Sat Apr 06, 2019 12:15 am

(web version) is there a way to convert the javascript code to display Fahrenheit instead of Celsius?

Labview Developer
Posts: 84
Joined: Mon Nov 13, 2017 10:20 am

Re: TemperatureSensor Code Sample

Postby jdecoux » Mon Apr 08, 2019 10:00 am

You can convert degrees Celsius to degrees Fahrenheit by using the formula:

°F = (°C * 9/5) + 32

Return to “Javascript”

Who is online

Users browsing this forum: No registered users and 1 guest