Temperature conversion: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: added the REXX language. -- ~~~~) |
m (→{{header|REXX}}: added an alternate word for Celcius. -- ~~~~) |
||
Line 239: | Line 239: | ||
This REXX version supports: |
This REXX version supports: |
||
* (alternate spellings with optional ''degrees''): |
* (alternate spellings with optional ''degrees''): |
||
** Centingrade, Celsius, Celcius |
** Centingrade, centesimal, Celsius, Celcius |
||
** Fahrenheit |
** Fahrenheit |
||
** Kelvin |
** Kelvin |
||
Line 271: | Line 271: | ||
select /*convert ───◄ common temperature*/ |
select /*convert ───◄ common temperature*/ |
||
when abbrev('CENTIGRADE', uU) |, |
when abbrev('CENTIGRADE', uU) |, |
||
abbrev('CENTESIMAL', uU) |, |
|||
abbrev('CELSIUS' , uU) |, |
abbrev('CELSIUS' , uU) |, |
||
abbrev('CELCIUS' , uU) then F = n * 1.8 + 32 |
abbrev('CELCIUS' , uU) then F = n * 1.8 + 32 |