Releases: Helvetitec/laramoney
Releases · Helvetitec/laramoney
Version 1.2.0
Version 1.1.1
Fixes
- Fixed bug in getPercentage method which would cause the value to be always zero
Version 1.1
What's New?
- Added getPercentage() method which can give a value of $value * ($percentage / 100)
Full Changelog: v1.0.12...v1.1
Version 1.0.12
Fixes
- Updated dependencies due to critical exploit in league/commonmark => commonmark/commonmark.js#129
Version 1.0.11 (Hotfix)
Fixes
- Fixed exception in LaraMoneyHelper::parse function if the value is either NULL or is a string/integer due to wrong parsing of the default currency. (Was loaded as string, but should've been a Money\Currency object
Version 1.0.10 (Hotfix)
Full Changelog: v1.0.9...v1.0.10
Version 1.0.9 (Hotfix)
Fixes
- Added missing NULL as allowed return type to LaraMoneyCast
Version 1.0.8
Changes
- It is now possible to add a NULL value to the LaraMoneyCast.
Version 1.0.7
Whats New?
- Added centsToString method to LaraMoneyHelper class to directly convert an integer value (in cents) to a string output, bypassing a step
Version 1.0.6
Full Changelog: v1.0.5...v1.0.6