Excel导入小数时位数变多

  • Last update:July 22, 2021
  • 1. 概述

    1.1 问题描述

    在使用Excel导入功能导入小数时,会发现部分小数导入后位数变多了。

    1.2 原因分析

    属于Excel的bug,Excel在解析某些特定小数时,会出现上述精度问题。

    用压缩软件打开Excel,在xl/worksheets目录下找到下图所示的xml文件:

    打开xml文件,可以看到在Excel的处理结果中,其实际值就是有问题的。


    2. 解决方案

    目前只能通过修改Excel来解决该问题。具体方式为,将该数字列的格式修改为文本。



    Attachment List


    Theme: 下架文档
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy