0

I have a PHP application that parses Excel files. It reads every cell from Excel so given that it might read dates, int/number, currency, string, etc.

Can I detect if the format of a currency cell? For example, I can detect the date as follows:

$cell = $worksheet->getCellByColumnAndRow($col, $row); $isdate = PHPExcel_Shared_Date::isDateTime($cell);

and I'd like something like this:

$iscurrency = PHPExcel_SOMETHING_DETECTCURRENCY($cell)

pnuts
  • 58,317
  • 11
  • 87
  • 139
shanks
  • 75
  • 8

0 Answers0