# Bug COSTS-21 - Spent time widget: No rounding

Project: Stream Time & Costs
Status: closed
URL: https://community.openproject.org/work_packages/COSTS-21

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Time tracking |
| Target versions | 16.5.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Login as a user with permissions to log time to work packages

2.  Go to *my page* and add a *my spent time*-widget

3.  Log multiple times for random work packages for a single day (e.g. 1.28h, 0,65h etc.)

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - The displayed sum is not rounded

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  The sum of all logged time in a day is rounded to a useful number (e.g XXXX,XX)

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/115197/content">

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

- [x] Hosted cloud edition

- [ ] Packaged installation
  
    - What distribution?

- [ ] Docker All-in-one container

- [ ] Docker-compose installation

- [ ] Other (please specify)

**OpenProject version**

*If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5*

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

*EN tested*

*first mentioned in support ticket 17438*
