CoreFiles by mySites.guru
RoundingNecessaryException.php19 lines, 459 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
aca122a08996969f3deee81495ed5ed0
sha1
d825bc62f2ac2f51c47862d80c8270a6a743d46b
sha256
43997b0b4779555f9edb4fca54cf7748bb9e8eaedf840b364f0b02a5028f895c
<?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
{
    /**
     * @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 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.