Project

General

Profile

Actions

Defect #12510

closed

Issues PDF export: Spent time/Float-values aren't rounded to 2 digits

Added by Luboš Schrámek over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
PDF export
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hello,

How to simulate problem?
  • add Spent time column to issues
  • modify Spent time in some issue to 2.45
  • export table to PDF

There will be a columns Spent time with 2.45000004768372. I hope there are missing some number format func(), can you please fix this problem? I am making these exports for customers and it looks bad.

Thanks.


Files

export.pdf (311 KB) export.pdf error in pdf fangzheng (方正), 2012-12-07 07:07
pdf.patch (436 Bytes) pdf.patch get pretty float values for spent time and estimated time Filou Centrinov, 2013-02-12 01:44
pdf.rb.patch (531 Bytes) pdf.rb.patch Filou Centrinov, 2013-03-06 12:36
web-edit.png (4.52 KB) web-edit.png Toshi MARUYAMA, 2013-08-05 12:06
0001-Round-floats-to-2-digits-when-rendering-an-issue-lis.patch (739 Bytes) 0001-Round-floats-to-2-digits-when-rendering-an-issue-lis.patch Holger Just, 2014-10-29 15:34
before.png (79.7 KB) before.png Marius BĂLTEANU, 2017-11-27 01:46
after.png (63.8 KB) after.png Marius BĂLTEANU, 2017-11-27 01:46
0001-Round-floats-to-2-digits-when-rendering-an-issue-lis_r17055.patch (2.21 KB) 0001-Round-floats-to-2-digits-when-rendering-an-issue-lis_r17055.patch Marius BĂLTEANU, 2017-12-06 14:31

Related issues

Related to Redmine - Defect #13780: Spent hours have excessive flaction in PDF exported ticket listClosed

Actions
Related to Redmine - Defect #28233: IssuesPdfHelperTest fails when run in isolationClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF