I\'ve googled this a lot but i can\'t find any helpful functions based on my queries.
What i want is:
100 -> 100 1000 -> 1,000 142840 -> 142
CakePHP has a Number Helper with a method toReadableSize. You should be able to grok it and come up with something on your own. In it, $this->precision is basically like number_format(), and __n is a singular-or-plural function.
$this->precision
number_format()
__n