Just a simple identifier, once again, but someone other than me should find it useful.
Usage:
$temconv(N, [c])
Takes a temperature and converts it. Assumes input is farenheit and converts to celcius, unless the c parameter is specified, in which case it does the opposite. (hope that that makes sense ;_))
Can be useful for weather scripts.
alias tempconv {
if ($2 == c) {
return $round($calc((($1 - 32) / 9) * 5), 0)
}
else {
return $round($calc((($1 * 9) / 5) + 32), 0)
}
}