PHP/PEAR - Retain trailing zeros when creating spreadsheets -
PHP/PEAR - Retain trailing zeros when creating spreadsheets -
i'm using php pear bundle generate excel spreadsheets. have info of type double trailing zeros need retained. how can preserve info without having worksheet::writenumber function truncate zeros? i've tried changing format string in pack function no luck yet.
add '
before it, e.g.
"'" . $number
php pear
Comments
Post a Comment