Skip to content
Discussion options

You must be logged in to vote

In my opinion, the introduction of the number helper represents an advance for the Laravel community, especially having a part of the documentation that talks about formatting numbers, decimals and monetary values. This will simplify implementation, especially for less experienced developers, by formatting float values for your country's currency.

Furthermore, even experienced developers may not be entirely familiar with the NumberFormatter, and the need to instantiate an object for formatting can make the code more extensive. The inclusion of this helper eliminates the need for developers to create their own formatting classes or install third-party packages for this purpose.

The availab…

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@allanmcarvalho
Comment options

@allanmcarvalho
Comment options

@muhammadmp97
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@allanmcarvalho
Comment options

Answer selected by allanmcarvalho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
6 participants