# media-cloud-sync/1.4.2/includes/sdk/google/brick/math/src/Exception/RoundingNecessaryException.php

Media Cloud Sync, version 1.4.2. 19 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.4.2/code/includes/sdk/google/brick/math/src/Exception/RoundingNecessaryException.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.4.2/raw/includes/sdk/google/brick/math/src/Exception/RoundingNecessaryException.php
- Modified: 2026-05-26T18:20:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.4.2/code/includes/sdk/google/brick/math/src/Exception/RoundingNecessaryException.php#L10-L20`.

```php
<?php

declare (strict_types=1);
namespace Dudlewebs\WPMCS\GCP\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.');
    }
}

```
