CSV output.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm outputting a bunch of numerical values for a spreadsheet to calculate
total sales among other things on a client shopping cart. I'm running into
problems with values that contain zeros after the decimal. If a value is
234.55 the value outputs fine to the CSV file but if the value is 234.00
only 234 shows up. Is there any way to force the zeros into the spreadsheet?


 

Thanks

 

Tom Shaw

php.coder@xxxxxxxxx 


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux