Исправил точность cpc в таблице

parent 4598a772
...@@ -141,6 +141,7 @@ $(document).ready(function () { ...@@ -141,6 +141,7 @@ $(document).ready(function () {
if (isCurrencyValue) format = d3.format(',.2f'); if (isCurrencyValue) format = d3.format(',.2f');
if (currentActiveLine == 'ctr') format = d3.format(',.2f'); if (currentActiveLine == 'ctr') format = d3.format(',.2f');
if (currentActiveLine == 'cpc') format = d3.format(',.1f');
if (isCurrencyValue) return format(value)/* + ' грн.'*/; if (isCurrencyValue) return format(value)/* + ' грн.'*/;
if (currentActiveLine == 'ctr') return format(value) + ' %'; if (currentActiveLine == 'ctr') return format(value) + ' %';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment