Convert Centigrade to Fahrenheit and back.


The formulas are as follows:
C = Celsius (or centigrade)
F (Fahrenheit) = 9/5C + 32
K (Kelvin) = 273.15 + C


F# = 9/5 * C# + 32
K# = C# + 273.15


Integers and LONGs are faster:

C& = 0
F& = 9/5 * C& + 32000
K& = C& + 273150
PRINT "In celsius:"; C \ 1000
PRINT "In Fahreheit:"; F \ 1000
PRINT "In kelvins:"; K \ 1000


CentigradeToFahrenheit - page last edited 2004-01-19 11:17:18 by 172.149.44.66 (home) (edit)
Blast WIKI - by RoboticBoy - edited and tweaked for our evil purposes by Hexadecimal Disaster