S
sonnichjensen
Hi
I am saving CSV files from a PHP app, but I face 2 problems:
1. stock numbers are sometimes just numbers, but I'd like to keep them as strings
2. prices are e.g. 5.2 which Excel translates as a date.
Say:
Item;Name;Price;Amount;Total
123;Test;5.2;1;5.2
124;Test2;1.2;2;2.4
Total;;;;=sum(e2:e3)
Just copy this into notepad and save with csv extension and you will see.
I'd like to have 123 and 124 as strings, and eg 5.2 as a float.
Can I format it better than this?
WBR
Sonnich
I am saving CSV files from a PHP app, but I face 2 problems:
1. stock numbers are sometimes just numbers, but I'd like to keep them as strings
2. prices are e.g. 5.2 which Excel translates as a date.
Say:
Item;Name;Price;Amount;Total
123;Test;5.2;1;5.2
124;Test2;1.2;2;2.4
Total;;;;=sum(e2:e3)
Just copy this into notepad and save with csv extension and you will see.
I'd like to have 123 and 124 as strings, and eg 5.2 as a float.
Can I format it better than this?
WBR
Sonnich