# CompatibleFormat::createResultDescription()

URL: https://chugunov.pro/api-bitrix/sale/discount/result/compatibleformat/createresultdescription/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс: [`\Bitrix\Sale\Discount\Result\CompatibleFormat`](https://chugunov.pro/api-bitrix/sale/discount/result/compatibleformat/)
Модуль: Sale.
Свойства элемента: method, public, static.

## Сигнатура

```php
public static createResultDescription(float $newPrice, float $oldPrice, string $currency) : array<string|int, mixed>
```

## Описание

Создаёт простое описание для неизвестной скидки.

## Параметры

- `$newPrice` `float` — обязательный. Новая цена.
- `$oldPrice` `float` — обязательный. Старая цена.
- `$currency` `string` — обязательный. Валюта.

## Возвращаемое значение

`array<string|int, mixed>`

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Sale-Discount-Result-CompatibleFormat.html
