diff --git a/inc/myco.js b/inc/myco.js index 33d5974..d6faba5 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -405,7 +405,7 @@ display_balance=function(group) { else { diff=''; } - tbody.append(''+c+''+bal['balance'][c]['total']+' €'+diff+''); + tbody.append(''+c+''+bal['balance'][c]['total'].toFixed(2)+' €'+diff+''); } $('#display_balance_modal #total-value').html(bal.sum.toFixed(2)+' €'); $('#display_balance_modal').modal('show');