A collection of things that go in the helpers file for various projects.
-
gen_uuid = Generates a unique ID in the format of: c2ce3a4d-e729-4d76-8af3-95a982fa5f62
-
showMoney = Does the same as asMoney, but has more configuration options and also shows the currency symbol.
-
asMoney = Converts a value to a double with two decimal points and no thousands separator.
-
dot_explode($array) = convert a dot based flat array to a multidimensional array.
- Reverted - asMoney no longer using bcdiv. Reverted back to number_format.
- Fixed - thousands separator threw errors too.
- Fixed - bcdiv function argument not well formed bug.
- New - Added PHP extension bcmath as required
- Updated - composer library updates
- Updated - Put the negative symbol first
- New - Added License
- Initial Commit