public function format($value, $params = null, $locale = null) {
		if ($locale === null) {
			$locale = 'en';
		}
		
		return $this->getFormatter($locale)->format($value);
	}
public function format($value, $params = null, $locale = null) {
		if ($locale === null) {
			$locale = 'en';
		}
		
		return $this->getFormatter($locale)->format($value);
	}
public function format ( $ value , $ params = null , $ locale = null ) { if ( $ locale === null ) { $ locale = 'en' ; } return $ this -> getFormatter ( $ locale ) -> format ( $ value ) ; }
Format the number

@param  int    $value
@param  array  $params
@param  string $locale
@return string
Format the number