• File: MaxMinBase.php
  • Full Path: /var/www/crm_set/modules/surveys/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/MaxMinBase.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 338 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace PhpOffice\PhpSpreadsheet\Calculation\Statistical;

abstract class MaxMinBase
{
    protected static function datatypeAdjustmentAllowStrings($value)
    {
        if (is_bool($value)) {
            return (int) $value;
        } elseif (is_string($value)) {
            return 0;
        }

        return $value;
    }
}