search

Home  >  Q&A  >  body text

Laravel maatwebsite/excel problem of automatically converting numbers to scientific notation

This plug-in automatically converts long numbers into scientific notation when importing excel files into the database, resulting in a loss of numerical precision. Do you have any good solutions?

给我你的怀抱给我你的怀抱2829 days ago1154

reply all(2)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-16 16:49:28

    Solved, just add a single quote before the long number

    reply
    0
  • 高洛峰

    高洛峰2017-05-16 16:49:28

    I have never used this plug-in. I developed a xavxsl excel plug-in. In the end, all fields were read in the form of strings. You can try this https://git.oschina.net/xavie...

    reply
    0
  • Cancelreply