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 -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -