Always display specified number of decimal places in Excel using PHPExcel

February 12th, 2015
by microbender

I need to display two decimal places in Excel (xlsx). I’m using PHPExcel. In PHP, I can use something like the following to display only the specified number of decimal paces.

echo sprintf(“%0.2f”,

Posted in my g+ postings | Comments (0)