mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #3133: Trucate acct totals to 2 decimals
This commit is contained in:
parent
7b6c056276
commit
6f05fa78ac
@ -5396,8 +5396,8 @@ function fillAccounting(div, req, response, no_table) {
|
||||
}
|
||||
});
|
||||
|
||||
cpu_row[1] = cpu_total;
|
||||
mem_row[1] = mem_total;
|
||||
cpu_row[1] = (cpu_total * 100).toFixed() / 100;
|
||||
mem_row[1] = (mem_total * 100).toFixed() / 100;
|
||||
|
||||
cpu_dataTable_data.push(cpu_row);
|
||||
mem_dataTable_data.push(mem_row);
|
||||
|
Loading…
x
Reference in New Issue
Block a user