Anonymous user
Temperature conversion/REXX: Difference between revisions
m
added whitespace.
Thundergnat (talk | contribs) m (Avoid miscounting task entries twice) |
m (added whitespace.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2:
Note that conversion from/to the '''Dalton''' temperature scale requires natural logarithms ('''ln'''), and the '''pow''' function.
No commenting/explaining was affixed to the higher math functions because it would detract from the logic of the main program.
<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[Rexx]]</span><hr>▼
<lang rexx>/*REXX program converts temperatures for fifty─eight different temperature scales. */▼
▲<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[
▲<lang rexx>/*REXX program converts temperatures for fifty─eight different temperature scales. */
/*
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
Line 240 ⟶ 243:
return
Line 285 ⟶ 287:
abbrev('CELISU' , yU) |, /* 1% misspelled.*/
abbrev('CELSU' , yU) |, /* 1% misspelled.*/
abbrev('HECTOGRADE' , yU) |,
abbrev('CELSIU' , yU) then sn= "CELSIUS"
when abbrev('CIMANTO' , yU,2) |,
|