Price set options show nine decimal places.
Overview
The price in a price set option shows nine decimal places and not two.
Reproduction steps
- Click on Events -> Manage Price Sets.
- Click on View and Edit Price Fields for a given event.
Current behaviour
The price shows to nine decimal places.
Expected behaviour
The price should show two decimal places.
Environment information
- Browser: Edge but probably not relevant
- CiviCRM: 5.32.2
- PHP: 7.4_ but probably not relevant
- CMS: Drupal 9.1/Joomla 3.9.6 but may not be relevant
- Database: MySQL 8.0.22 but may not relevant
- Web Server: IIS 10 but probably not relevant.
Comments
Anything else you would like the reviewer to note. The expected behaviour comes from a 5.30.1 system under Joomla and MySQL 5.6,
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information