开发者

read value true for a specific cell only

开发者 https://www.devze.com 2023-04-03 16:50 出处:网络
i am reading a excel file with the help of phpexcel , issue is when ever i try to read a specific colum which contain % sign i dnt read the correct value , i have set

i am reading a excel file with the help of phpexcel , issue is when ever i try to read a specific colum which contain % sign i dnt read the correct value , i have set

$objReader->setReadDataOnly(true);

which i think sets it true for the whole file开发者_如何学Python , if i remove this line i do get the right values from that specific colum but my rest of code gets useless for the rest of my file , is there a away i set this true for that colum only . or any other solution ?

thanks in advance


I guess you're using ->getCellValue() ?

Try : ->getCalculatedValue()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号