Skip to content

Commit

Permalink
correcting method name
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Sep 29, 2012
1 parent e88dcd2 commit 5efc612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/core-utility-libraries/number.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,10 @@ automatically echo the output into the view.

<?php
// called as NumberHelper
$this->Number->format($number, $options);
$this->Number->formatDelta($number, $options);

// called as CakeNumber
CakeNumber::format($number, $options);
CakeNumber::formatDelta($number, $options);

The $number parameter is the number that you are planning on
formatting for output. With no $options supplied, the number
Expand Down

0 comments on commit 5efc612

Please sign in to comment.