Чтобы вычислить разницу между числе в процентах, необходимо от первого числа(n1) отнять второе(n2), разницу умножить на 100 и разделить на первое число(n1)
{"commentics_url":"\/\/e-doki.ru\/comment\/","page_id":17,"enabled_country":false,"country_id":0,"enabled_state":false,"state_id":0,"enabled_upload":false,"maximum_upload_amount":3,"maximum_upload_size":5,"maximum_upload_total":5,"captcha":false,"captcha_url":"http:\/\/e-doki.ru\/comment\/frontend\/index.php?route=main\/form\/captcha&page_id=17","cmtx_wait_for_comment":"","lang_error_file_num":"A maximum of %d files are allowed to be uploaded","lang_error_file_size":"Please upload files no bigger than %.1f MB in size","lang_error_file_total":"The total size of all files must be less than %.1f MB","lang_error_file_type":"Only image file types are allowed to be uploaded","lang_text_loading":"\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 ..","lang_placeholder_country":"Country","lang_placeholder_state":"State","lang_text_country_first":"Please select a country first","lang_button_submit":"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0438\u043b\u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u0435","lang_button_preview":"Preview","lang_button_remove":"Remove","lang_button_processing":"\u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435.."}
{"commentics_url":"\/\/e-doki.ru\/comment\/","page_id":17,"is_permalink":false,"lang_text_view":"View","lang_text_reply":"reply","lang_text_replies":"replies","lang_text_replying_to":"\u0432 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439: ","lang_title_cancel_reply":"\u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0442\u0432\u0435\u0442","lang_link_cancel":"[\u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c]","lang_text_privacy":"Privacy","lang_text_terms":"Terms","lang_text_agree":"[1] \/ [2]","lang_text_not_replying":"You are not replying to anyone","lang_button_loading":"\u0437\u0433\u0440\u0443\u0437\u043a\u0430..","lang_button_more":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0449\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438","lang_button_edit":"Edit Comment","lang_button_reply":"\u041e\u0442\u0432\u0435\u0442\u0438\u0442\u044c","lang_link_reply":"Switch to full reply","lang_link_refresh":"[\u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044c]","date_auto":false,"show_pagination":true,"quick_reply":false,"pagination_type":"infinite","timeago_suffixAgo":"ago","timeago_inPast":"a moment","timeago_seconds":"less than a minute","timeago_minute":"a minute","timeago_minutes":"%d minutes","timeago_hour":"an hour","timeago_hours":"%d hours","timeago_day":"a day","timeago_days":"%d days","timeago_month":"a month","timeago_months":"%d months","timeago_year":"a year","timeago_years":"%d years"}
Мы используем cookie! Продолжая использовать наш сайт, вы даете согласие на хранение и обработку пользовательских и персональных данных. ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
Комментариев: (4)
Круто
Спасибо!
у вас деление нарисовано на N2.
Да, действительно. Спасибо Вам за найденную ошибку!
Исправлено.