Forum

[SOLVED] Rounding i...
 
Notifications
Clear all

[SOLVED] Rounding issue work hours, Client orders

6 Posts
2 Users
0 Reactions
2,752 Views
(@failman)
Posts: 7
Active Member
Topic starter
 
[#5934]

Hello,

When specifying the work associated with a client order, i.e. 76 h, it automatically converts it to 75,975 h after i press save. Why is that?

I'm using hours as input for work, and I currently run V7.3.3.


 
Posted : 24 Apr 2019 12H36
(@babynus)
Posts: 14952
Member Admin
 

This rounding issue does not appear on V7.4.4.
Please upgrade.


 
Posted : 24 Apr 2019 14H34
(@failman)
Posts: 7
Active Member
Topic starter
 

Hello,

I have upgraded to 7.4.4, but the rounding error is still there. Is it because I use hours instead of days as unit for work?


 
Posted : 24 Apr 2019 14H43
(@babynus)
Posts: 14952
Member Admin
 

What is your hours per day converion unit ?


 
Posted : 24 Apr 2019 23H29
(@failman)
Posts: 7
Active Member
Topic starter
 

If you mean the amount of hours in one work-day, its 7.5h.


 
Posted : 25 Apr 2019 9H45
(@babynus)
Posts: 14952
Member Admin
 

Hi,

It is a rounding issue.
Data are stored in days in DB, but precision it not enough so rounding leads to faced behaviour.
Ticket #3979 recorded.
Will be fixed on next patch.


 
Posted : 25 Apr 2019 12H03
Share:

Scroll to Top