->"; } elseif ($value >= $length) { $ret = "<->"; } else { $left = $length - $value; $ret = "<-->"; } return $ret; }