You are here

public static function PHPExcel_Calculation_Functions::IS_NUMBER in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php \PHPExcel_Calculation_Functions::IS_NUMBER()

* IS_NUMBER * *

Parameters

mixed $value Value to check: * @return boolean

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php, line 446

Class

PHPExcel_Calculation_Functions
PHPExcel_Calculation_Functions

Code

public static function IS_NUMBER($value = NULL) {
  $value = self::flattenSingleValue($value);
  if (is_string($value)) {
    return False;
  }
  return is_numeric($value);
}