This website works better with JavaScript.
Home
Explore
Help
Sign In
Laclic
/
Souke
Watch
5
Star
0
Fork
1
Code
Issues
1
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
TVA : calculs des arrondis
refactoring
Guillaume Bourgeois
4 years ago
parent
c0dc9dc797
commit
b9283163bf
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+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 number
Two
Decimals(price).replace('.', ',') + ' €';
return numberDecimals(price
, 2
).replace('.', ',') + ' €';
}
/**
Write
Preview
Loading…
Cancel
Save