forked from CGM_Public/pretix_original
Widget: Fix incorrect duplicate formatting of float, loosing precision
This commit is contained in:
@@ -212,7 +212,7 @@ Vue.component('pricebox', {
|
||||
if (this.price.gross === "0.00") {
|
||||
return strings.free;
|
||||
} else {
|
||||
return this.$root.currency + " " + floatformat(this.display_price, 2);
|
||||
return this.$root.currency + " " + this.display_price;
|
||||
}
|
||||
},
|
||||
taxline: function () {
|
||||
|
||||
Reference in New Issue
Block a user