This website works better with JavaScript.
Home
Explore
Help
Sign In
BenoitCier
/
Opendistrib
forked from
Laclic/Souke
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
TVA : calculs des arrondis
dev
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