Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 857b3a9

Browse files
committed
Add number of decimals to BTC price when formatting in the purchase flow.
1 parent 5a389e3 commit 857b3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/views/buyWizardVw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ module.exports = baseVw.extend({
573573
this.$el.find('.js-buyWizardSpinner').addClass('hide');
574574
this.orderID = data.order_id;
575575
totalBTCPrice = data.amount - this.partialPaymentAmount;
576-
this.$el.find('.js-buyWizardDetailsTotalBTC').text(templateHelpers.intlNumFormat(totalBTCPrice));
576+
this.$el.find('.js-buyWizardDetailsTotalBTC').text(templateHelpers.intlNumFormat(totalBTCPrice, 8));
577577
this.payURL = data.payment_address;
578578

579579
payHREF = "bitcoin:"+ data.payment_address+"?amount="+totalBTCPrice;

0 commit comments

Comments
 (0)