Skip to content

adcmdev/sort_price

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sort_price

This is a simple package who can help you to sort your price number from a number to unit, ten, hundreds and thousands

sortPrice Method

Recieve a number and return an String

Example

sortPrice(1000);

This will to return: 1,000.0

Suports long numbers

If you want number without decimals, just send a false value like second argument

Ej:

sortPrice(1000, false)

About

This is a simple package who can help you to sort your price number from a number to unit, ten, hundreds and thousands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages