Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 918
    • Issues 918
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #2280

Closed
Open
Opened Dec 30, 2020 by spalmstrom@spalmstrom

Price set options show nine decimal places.

Overview

The price in a price set option shows nine decimal places and not two.

Reproduction steps

  1. Click on Events -> Manage Price Sets.
  2. Click on View and Edit Price Fields for a given event.

Current behaviour

The price shows to nine decimal places. image

Expected behaviour

The price should show two decimal places.

image

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#2280