Content
View differences
Updated by Andrej Sandorf 11 months ago
### Steps to reproduce
1. Login as a user with permissions to view a work package
2. Have a custom field of type float
3. Insert a number higher than 999, e.g. 1000
4. The number for English locale is formatted with 1,000.00 in the work package form
5. Export work package to PDF
### What is the buggy behavior?
* The number is formatted 1000.00 in the PDF
### What is the expected behavior?
* The workPackageValue macro for float values formats the number with a thousand delimiter 1.000,00
### Screenshots and other files
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/687048/content"></div><figcaption class="op-uc-figure--description">Frontend formatting</figcaption></figure></td><td class="op-uc-table--cell"><figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/687051/content"></div><figcaption class="op-uc-figure--description">Backend formatting</figcaption></figure><p class="op-uc-p"><br></p></td></tr></tbody></table></figure>
### Environment information
**OpenProject installation type**
* All
**OpenProject version**
_v16.0_
**Operating System**
* All
**Language**
_English_ _At least German and English_
1. Login as a user with permissions to view a work package
2. Have a custom field of type float
3. Insert a number higher than 999, e.g. 1000
4. The number for English locale is formatted with 1,000.00 in the work package form
5. Export work package to PDF
### What is the buggy behavior?
* The number is formatted 1000.00 in the PDF
### What is the expected behavior?
* The workPackageValue macro for float values formats the number with a thousand delimiter 1.000,00
### Screenshots and other files
<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/687048/content"></div><figcaption class="op-uc-figure--description">Frontend formatting</figcaption></figure></td><td class="op-uc-table--cell"><figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/687051/content"></div><figcaption class="op-uc-figure--description">Backend formatting</figcaption></figure><p class="op-uc-p"><br></p></td></tr></tbody></table></figure>
### Environment information
**OpenProject installation type**
* All
**OpenProject version**
_v16.0_
**Operating System**
* All
**Language**
_English_