# Bug OP-17395 - PDF export: workPackageValue macro for float values formats the number without a thousand delimiter

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-17395

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / PDF Export |
| Target versions | 16.2.0 |
| Observed in versions | 16.0.0 |
| Sprint | 16.2.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Andrej Sandorf |
| Product manager |  |
| Developers | Andrej Sandorf |
| Designer |  |
| Ordered by | Niels Lindenthal |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### 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_
