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)