Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
simplified format method
Hello Daniel/James, please verify carefully my changes and thoughts. 1. No need to set $value = $value 2. Using $value both as the conversion parameter name and formatted value can be a little confusing. I changed to $amount (I could have re-used $number as well) 3. If we are not returning a formatted string we could simply return the rounded value.
- Loading branch information
maks feltrin
committed
Nov 24, 2015
1 parent
08a7457
commit 3fb9f9d
Showing
1 changed file
with
10 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters