|
|
edfe305608
|
fix docblock grammar
|
2022-05-16 12:51:29 +02:00 |
|
|
|
f24ced5445
|
fix comment grammar
|
2022-05-16 12:48:51 +02:00 |
|
David
|
4a00c40ed8
|
Remove unnecessary parameter declarations
|
2022-05-16 10:35:35 +02:00 |
|
David
|
7429de795f
|
Fix grammar
|
2022-05-16 08:43:46 +02:00 |
|
David
|
9547070193
|
rename deleteTrailingDecimalZeros to trimTrailingDecimalZeros
|
2022-05-16 08:40:43 +02:00 |
|
David
|
7885a82b56
|
Rewrite function description
|
2022-05-09 14:44:05 +02:00 |
|
David
|
fdd0b76540
|
Fix code style
|
2022-05-09 14:25:50 +02:00 |
|
David
|
8fc9d4d455
|
Add setting for how to handle trailing decimal zeros
|
2022-05-06 11:35:41 +02:00 |
|
David
|
b7093f4f05
|
Remove trailing zeros from formatted price
|
2022-05-06 10:56:28 +02:00 |
|
Gaurav
|
5952ace37e
|
text: exception message and docblock updates
|
2022-04-05 09:49:36 +05:30 |
|
Gaurav
|
34740e66a6
|
fix: import exception
|
2022-03-31 10:09:40 +05:30 |
|
Gaurav
|
d6cb1ba6ae
|
update: add dedicated exception class
|
2022-03-15 17:03:57 +05:30 |
|
Gaurav
|
a8d32a0be8
|
fix: no more currency guessing
|
2022-03-10 11:45:39 +05:30 |
|
Gaurav
|
93aeb2c300
|
feat: extract currency from the formatted string
|
2022-03-10 11:39:53 +05:30 |
|
PHP CS Fixer
|
fa337d29b4
|
Fix code style (php-cs-fixer)
|
2022-03-09 07:37:04 +00:00 |
|
Gaurav
|
2329dcf790
|
Merge branch 'from_string_implementation' of github.com:gauravmak/money into from_string_implementation
|
2022-03-09 13:06:45 +05:30 |
|
Gaurav
|
77bec6ed02
|
fix: make PHPStan happy by protecting against some rare scenarios
|
2022-03-09 13:06:40 +05:30 |
|
PHP CS Fixer
|
01fd16f71b
|
Fix code style (php-cs-fixer)
|
2022-03-09 07:20:34 +00:00 |
|
Gaurav
|
38c6326a4d
|
feature: money instance creation from a formatted string
|
2022-03-09 12:50:04 +05:30 |
|
Gaurav
|
8bdf0d1a2b
|
refactor: improve code readability
|
2022-03-09 12:49:00 +05:30 |
|
Mikael Dalholm
|
356aad9cc6
|
Divide rate with 100
Needed for the calculation to be correct according to the documentation. `$money->addTax(20)` and not `$money->addTax(0.2)`
|
2021-12-28 11:45:02 +01:00 |
|
Samuel Štancl
|
8ca21240df
|
Make new() public
|
2021-12-13 01:18:37 +01:00 |
|
Samuel Štancl
|
c6ef5aa54c
|
addDecimal() and subtractDecimal()
|
2021-11-28 18:47:59 +01:00 |
|
Samuel Štancl
|
f5bf658155
|
cents() method
|
2021-11-28 18:38:54 +01:00 |
|
Samuel Štancl
|
efe697b051
|
Add function_exists() checks
|
2021-11-16 19:47:37 +01:00 |
|
Samuel Štancl
|
8847454577
|
Initial commit
|
2021-11-16 19:06:57 +01:00 |
|