Witam
W pliku Excel mam kolumnę 5,00 zł, przy imporcie otrzymuje $ 5.00. Jak można zrobić żeby otrzymać samo 5?
<?php
include '../class/PHPExcel/IOFactory.php';
$inputFileName = '../Zeszyt1.xlsx';
$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);
$allDataInSheet = $objPHPExcel->getActiveSheet()->toArray(null,true,true,true);
$arrayCount = count($allDataInSheet); print '<table border="1">'; for($i=3;$i<=$arrayCount;$i++){
$collectName = $allDataInSheet[$i]["A"];
$collectDateEnd = $allDataInSheet[$i]["B"];
$collectLocation = $allDataInSheet[$i]["C"];
$collectPrice = $allDataInSheet[$i]["D"];
$collectEmail = $allDataInSheet[$i]["E"];
$collectDate = $allDataInSheet[$i]["F"];
print '<td>'.$collectName.'</td>'; print '<td>'.$collectDateEnd.'</td>'; print '<td>'.$collectLocation.'</td>'; print '<td>'.$collectPrice.'</td>'; print '<td>'.$collectEmail.'</td>'; print '<td>'.$collectDate.'</td>'; }
?>
Pozdrawiam