Skip to content

Commit

Permalink
adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Jul 31, 2015
1 parent 412813b commit d936c9e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Utility/Number.php
Expand Up @@ -108,6 +108,17 @@ public static function _format($number, array $formatOptions = []) {
return $sign . parent::format($number, $options);
}

/**
* Format
*
* Additional options
* - signed
* - positive
*
* @param $number
* @param array $options
* @return string
*/
public static function format($number, array $options = []) {
$defaults = [
'positive' => '+', 'signed' => false
Expand Down

0 comments on commit d936c9e

Please sign in to comment.