Merge pull request #640 from dabura667/addfeeperkb
Fix max decimal place + trailing zeroes when in BTC
This commit is contained in:
commit
ea0adc1d9e
|
@ -54,7 +54,7 @@
|
|||
</tr>
|
||||
<tr data-ng-show="tx.fees">
|
||||
<td><strong translate>Fee Rate</strong></td>
|
||||
<td class="text-muted text-right">{{$root.currency.getConvertion((tx.fees * 1000) / tx.size) + ' per kB' || ((tx.fees * 1000) / tx.size) + 'BTC per kB'}}</td>
|
||||
<td class="text-muted text-right">{{$root.currency.getConvertion((tx.fees * 1000) / tx.size) + ' per kB' || ((tx.fees * 1000) / tx.size).toFixed(8).replace(/([0-9]+(\.[0-9]+[1-9])?)(\.?0+$)/,'$1') + 'BTC per kB'}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong translate>Received Time</strong></td>
|
||||
|
|
Loading…
Reference in New Issue