Celsius to Fahrenheit calculator explained

This page exists due to the efforts of the following people:



Created: 2008-09-17 20:36:47, Last updated: 2020-11-03 14:19:26
Creative Commons Attribution/Share-Alike License 3.0 (Unported)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/6/. Also, please do not modify any references to the original work (if any) contained in this content.

This is kind of hello world for our calculators engine. This calculator is made by two lines of JavaScript and description of three variables with dialogs. First I've added "input variable", named it "Temperature" and set variable name to "temp", when I've added two output variables with names "Celsius" and "Fahrenheit" and variable names "Tc" and "Tf" respectively. Function body consists of following lines:


Note, that I was using "variable names" for number manipulations.
Result you can see below:

PLANETCALC, Celsius Fahrenheit

Celsius Fahrenheit

Enter temperature you want to convert
Digits after the decimal point: 1

URL copied to clipboard
PLANETCALC, Celsius to Fahrenheit calculator explained