# Bug OP-7141 - Unit cost for units < 1 are off by order of magnitude

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions | 10.5.0 |
| Sprint | 11.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.5.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 |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### **Environment**:

OpenProject 10.5

qa.openproject-edge.com / dev

### **Steps to reproduce:**

1.  Chose German as language
2.  Go to budget.
3.  Open create budget screen.
4.  Enter a unit cost entry and enter a value starting with a zero (e.g. 0.5)

### **Actual Behavior**

The budget calculation ignores the zero and the dot (e.g. instead of using the value for 0.5 the value 5 is used) which leads to very wrong cost positions:

![](/api/v3/attachments/18032/content)

### **Expected Behavior**

The correct cost is set.
