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

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -