replace 32 bit op with toFixed
This commit is contained in:
parent
ad56cb685f
commit
55a3a871b8
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
$scope.loading = true;
|
||||
|
||||
var address = form.address.$modelValue;
|
||||
var amount = (form.amount.$modelValue * config.unitToSatoshi) | 0;
|
||||
var amount = parseInt((form.amount.$modelValue * config.unitToSatoshi).toFixed(0));
|
||||
var commentText = form.comment.$modelValue;
|
||||
|
||||
var w = $rootScope.wallet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue