Giter Club home page Giter Club logo

Comments (4)

shuchkin avatar shuchkin commented on August 29, 2024 1

try 0.9.23, there disabled locale dependencies

(float) 1.23 - good value to parser, saved in xlsx as float
(string) 1234.56 - good value, saved as float
(string) 1.234,56 - bad value, saved as string

from simplexlsxgen.

shuchkin avatar shuchkin commented on August 29, 2024

in your generated XLSX I fond values like <v>1,12</v>, right way is <v>1.12</v>

  1. u has used other generator
    or
  2. u has used "\0" prefix to write raw XML string
    ?

from simplexlsxgen.

EwertonDutra avatar EwertonDutra commented on August 29, 2024

I use the function

number_format($credit, 2, ',', '.')

More in another spreadsheet I use it too and it doesn't give an error!
I'm just using the generator

$xlsx = SimpleXLSXGen::fromArray($linhas);
$xlsx->saveAs('arquivos/producao-x-vendas.xlsx');

And I don't change the generated file (or to be generated) at all

from simplexlsxgen.

EwertonDutra avatar EwertonDutra commented on August 29, 2024

Wonderful,

I updated the package and no longer shows the repair message

Thank you for your help

from simplexlsxgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.