original_string: public static function formatSocialNumber($number){
  
  		assert('is_integer($number)');
  
  		if(!is_integer($number)) return $number;
  
  		if($number > 10000000){
  
  			$number = round($number / 1000000) . 'M';
  		}
  		elseif($number > 1000000){
  
  			$number = round($number / 1000000, 1) . 'M';
  		}
  		elseif($number > 10000){
  
  			$number = round($number / 1000) . 'K';
  		}
  		elseif($number > 1000){
  
  			$number = round($number / 1000, 1) . 'K';
  		}
  
  		return $number;
  	}
code: public static function formatSocialNumber($number){
  
  		assert('is_integer($number)');
  
  		if(!is_integer($number)) return $number;
  
  		if($number > 10000000){
  
  			$number = round($number / 1000000) . 'M';
  		}
  		elseif($number > 1000000){
  
  			$number = round($number / 1000000, 1) . 'M';
  		}
  		elseif($number > 10000){
  
  			$number = round($number / 1000) . 'K';
  		}
  		elseif($number > 1000){
  
  			$number = round($number / 1000, 1) . 'K';
  		}
  
  		return $number;
  	}
code_tokens: public static function formatSocialNumber ( $ number ) { assert ( 'is_integer($number)' ) ; if ( ! is_integer ( $ number ) ) return $ number ; if ( $ number > 10000000 ) { $ number = round ( $ number / 1000000 ) . 'M' ; } elseif ( $ number > 1000000 ) { $ number = round ( $ number / 1000000 , 1 ) . 'M' ; } elseif ( $ number > 10000 ) { $ number = round ( $ number / 1000 ) . 'K' ; } elseif ( $ number > 1000 ) { $ number = round ( $ number / 1000 , 1 ) . 'K' ; } return $ number ; }
docstring: Formats the numer to populate 1, 10, 100, 1.1K, 10K, 1.1M, 10M
  
  @param integer $number
  @return string
docstring_tokens: Formats the numer to populate 1 10 100 1 . 1K 10K 1 . 1M 10M