public function getHumanKarma() { if ($this->karma >= 1000) { return sprintf("%.1f", $this->karma / 1000) . 'k'; } else { return $this->karma; } }