Description
This PR was created to fix a minor issue with the checkout process, where prices of 1.99 were being displayed as 2. We have modified the formatPrice function so that, from now on, it truncates the number rather than rounding it. This change has also been applied to the website.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed