csv - How to convert xls encoded number in php -
this question has answer here:
i working on csv import functionality.but while creating csv using ms excel, ms excel converts 806842000000 8.07e+11.
how can convert 8.07e+11 806842000000 in php.
thanks in advance.
you can't, actually. 8.07e+11 means 8.07 * 10^11 whitch 807000000000. excel has rounded number , lost precision.
you can stop excel doing - change column type text before saving cvs. text fields don't rounded.
Comments
Post a Comment