Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Logs Updates with Decimal values #188

Closed
desousalopes opened this issue Nov 28, 2023 · 1 comment
Closed

Multiple Logs Updates with Decimal values #188

desousalopes opened this issue Nov 28, 2023 · 1 comment

Comments

@desousalopes
Copy link

Good afternoon.

I'm having a problem with fields with decimal places, for example:
/** * @ORM\Column(type="decimal", scale=4, precision=14, nullable=true) */ protected $originalAmount = null;

When I change a record, the decimal places change, but in the database they are stored with the correct decimal places.

{"value":{"new":10.11,"old":"10.1100"},"modifiedDate":{"new":"2023-11-28 17:58:12","old":"2023-11-28 17:57:32"},"taxedValue":{"new":10.11,"old":"10.1100"},"untaxedValue":{"new":0,"old":"0.0000"}}

I was wondering if there was any way of overcoming this decimal point issue, because it doesn't make much sense to have a log with the difference from 0.00 to 0.0000.

Thank you.

@pedrocasado
Copy link

@DamienHarper DamienHarper closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants