OMG what a messed script, it doesnt have to be that huge... wink

Code:
Alias temp {
  var %t = $left($1,-1)
  var %s = $right($1,1)
  if (F == %s) { return $1 ( $+ $round($calc((%t - 32) / 1.8),2) $+ C $+ ) }
  if (C == %s) { return $1 ( $+ $round($calc((%t * 1.8) + 32),2) $+ F $+ ) }
  if (K == %s) { return $1 ( $+ $round($calc(%t - 273.15),2) $+ C $+ ) ( $+ $round($calc(((%t - 273.15) * 1.8) + 32),2) $+ F $+ ) }
}


Usage //say $temp(100F)
Returns 100F (37.78C)
Usage //say $temp(100C)
Returns 100C (212F)
Usage //say $temp(100K)
Returns 100K (-173.15C) (-279.67F)
or use //echo :tongue:


_____
Yes I was away wink