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

Bug: Inssurance of a loan not properly taken when there are decimals - Loan #32477

Open
mikygee opened this issue Dec 29, 2024 · 0 comments
Open
Labels
Bug This is a bug (something does not work as expected)

Comments

@mikygee
Copy link
Contributor

mikygee commented Dec 29, 2024

Bug

Version: 20.0.2

Hello,

I have created a loan and I had forgotten to add the price of the insurance of the loan.
So I edit the loan and change the value of the insurance by 12,70
image

After validation of the change, the insurance is 12,00€ instead of 12,70€
image

Also when I edit the loan there are two small problems:

  • A dot is used to separate the decimals but when I'm not in edit mode it's a coma (coma is what I want in both cases)
  • There are too many zeros for decimals, you can see on the screeshot 75989.000000, but 75989,00 should be expected.

Regards

Dolibarr Version

20.0.2

Environment PHP

No response

Environment Database

No response

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

@mikygee mikygee added the Bug This is a bug (something does not work as expected) label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant