Hamilton Laboratories ▷ Hamilton C shell 2012 ▷ User guide ▷ Samples

f2c.csh

Oregon Coast

f2c.csh
Previous | Next

#  Convert from Fahrenheit to Celsius.
#  Copyright (c) 1995-2012 by Hamilton Laboratories.  All rights reserved.

proc f2c( f )
   return (f - 32)*5/9
end

f2c $argv

Previous | Next