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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -