Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 399
Zeile 8... Zeile 8...
8
 * Exception thrown when a number cannot be represented at the requested scale without rounding.
8
 * Exception thrown when a number cannot be represented at the requested scale without rounding.
9
 */
9
 */
10
class RoundingNecessaryException extends MathException
10
class RoundingNecessaryException extends MathException
11
{
11
{
12
    /**
12
    /**
13
     * @return RoundingNecessaryException
-
 
14
     *
-
 
15
     * @psalm-pure
13
     * @psalm-pure
16
     */
14
     */
17
    public static function roundingNecessary() : RoundingNecessaryException
15
    public static function roundingNecessary() : RoundingNecessaryException
18
    {
16
    {
19
        return new self('Rounding is necessary to represent the result of the operation at this scale.');
17
        return new self('Rounding is necessary to represent the result of the operation at this scale.');