CoreFiles by mySites.guru
RoundingNecessaryException.php21 lines, 508 bytes, from Joomla_4.4.2-Stable-Full_Package.zip
Raw History Compare with 4.4.1
md5
0816859b85525f669a368507b0a10552
sha1
7a2d1f47e90fc3a8b4f4ef5796078b5b5764386d
sha256
76250189a07cdff20d42c90bb9f8cca71b9a40673c09ffc63d18d7f040f199d3
<?php

declare(strict_types=1);

namespace Brick\Math\Exception;

/**
 * Exception thrown when a number cannot be represented at the requested scale without rounding.
 */
class RoundingNecessaryException extends MathException
{
    /**
     * @return RoundingNecessaryException
     *
     * @psalm-pure
     */
    public static function roundingNecessary() : RoundingNecessaryException
    {
        return new self('Rounding is necessary to represent the result of the operation at this scale.');
    }
}

The same content is in 128 releases, Joomla 4.0.0-beta4 to 4.4.14. See them all, or every version of this file.