Browse Source

TVA : calculs des arrondis

dev
Guillaume Bourgeois 4 years ago
parent
commit
b9283163bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/web/js/utils.js

+ 1
- 1
common/web/js/utils.js View File

@@ -35,7 +35,7 @@ function numberDecimals(num, decimals) {
* @returns {string}
*/
function formatPrice(price) {
return numberTwoDecimals(price).replace('.', ',') + ' €';
return numberDecimals(price, 2).replace('.', ',') + ' €';
}

/**

Loading…
Cancel
Save