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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -