• Fuck u/spez@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    6
    ·
    17 hours ago

    You can’t increase the decimal precision beyond the limits of the available data which I think is what OP’s coworker wasn’t understanding – unless I’m the one who misunderstood.

    The coworker rounded the numerical data during the conversion from xlsx to csv meaning there was less data in the exported csv than in the original Excel file. They seemed to think the data did still exist in the csv but it was being hidden and that they could simply change the precision to unhide it.

    • Dave@lemmy.nz
      link
      fedilink
      arrow-up
      4
      ·
      17 hours ago

      Ahhh, the excel format keeps the precision but changes the display to 1 decimal. When exported to CSV, only that 1 decimal is exported, so you can’t bring back what isn’t there. But the original file still has it.

      I understand now, thanks! Definitely a coworker problem not an Excel problem then.

      • deo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        4
        ·
        12 hours ago

        Nope. Still an excel problem. Why should changing a display option alter the underlying data on export?

        • Dave@lemmy.nz
          link
          fedilink
          arrow-up
          3
          ·
          12 hours ago

          Well, that’s a good point. However, if I wanted to export a CSV with only one decimal place, it would be mighty annoying if changing it to one in Excel didn’t save it like that in the CSV. Unless there was another option to control that.