{
    "id": "pdo181-decimal-extension",
    "title": "Получить точный итог через доверенное decimal-расширение",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Строк расчёта",
            3
        ],
        [
            "Хранение",
            "TEXT"
        ],
        [
            "Точный итог",
            "0.03"
        ],
        [
            "Сравнение с 0.03",
            0
        ],
        [
            "PHP float использован",
            false
        ],
        [
            "Файл",
            "exact-total.csv"
        ]
    ],
    "checks": {
        "text_inputs": true,
        "stored_as_text": true,
        "result_is_text": true,
        "exact_total": true,
        "decimal_comparison": true,
        "all_lines": true,
        "extension_available": true,
        "owned_objects_removed": true,
        "owned_files_removed": true
    },
    "observations": {
        "lines": [
            {
                "id": 1,
                "amount": "10000000000000000.01",
                "storage": "text"
            },
            {
                "id": 2,
                "amount": "0.02",
                "storage": "text"
            },
            {
                "id": 3,
                "amount": "-10000000000000000.00",
                "storage": "text"
            }
        ],
        "exact_total": "0.03",
        "extension_sha256": "be6244986c88f1b429ea63e7a0e34433a1928fa16d24b414d6081504f2c24f68",
        "input_contract": "trusted decimal strings with dot separator"
    },
    "runtime": {
        "php": "8.5.11",
        "extension": "8.5.11",
        "pdo": "8.5.11",
        "driver": "sqlite",
        "server_version": "3.53.4",
        "client": "3.53.4",
        "storage": "own_file"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "pdo181_amounts_c57cfcbaee63"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "pdo181_amounts_c57cfcbaee63"
        }
    ],
    "owned_files": [
        {
            "type": "DATABASE",
            "name": ".pdo181_project_0d52ac26fa1b\/data.sqlite"
        }
    ],
    "removed_files": [
        {
            "type": "DATABASE",
            "name": ".pdo181_project_0d52ac26fa1b\/data.sqlite"
        }
    ]
}
