Ticket #115 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

csv, xls and PDF output report decimal numbers when integers expected

Reported by: https://idp.ed.ac.uk/shibboleth!https://iam.cf.ac.uk/sp/shibboleth!ovni4pza9iu+wodmb9y3oulnwiu= Owned by: smartp@…
Priority: minor Milestone: v1.2.0
Component: Raptor Web Version:
Keywords: Cc:


The graph "Number of authentications grouped by particular field" reports numbers of authentications to one decimal place. And that decimal place, unsurprisingly, is .0. Can these be output as integers?

Change History

comment:1 Changed 7 years ago by smith@…

  • Owner changed from Phil Smart to smartp@…
  • Status changed from new to assigned
  • Milestone set to v1.2.0

comment:2 Changed 7 years ago by smartp@…

  • Status changed from assigned to closed
  • Resolution set to fixed

I have changed this for sensible number formatting for the PDF and CSV output. However I left it for the excel output as excel should see the root format and additional formatting should be applied in Excel. More specifically, building a CSV and PDF involves supplying a String which I can easily manipulate, whereas when building an excel report I give it the EXACT datatype and it knows how to deal with that - so let it be.

Note: See TracTickets for help on using tickets.