Merge pull request #479 from matiu/bug/fixes-sci-notation
fix sci notation
This commit is contained in:
commit
85cb296950
4
public/js/main.min.js
vendored
4
public/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
@ -22,6 +22,8 @@ angular.module('insight.currency').controller('CurrencyController',
|
|||||||
this.factor = 1;
|
this.factor = 1;
|
||||||
response = value;
|
response = value;
|
||||||
}
|
}
|
||||||
|
// prevent sci notation
|
||||||
|
if (response < 1e-7) response=response.toFixed(8);
|
||||||
|
|
||||||
return response + ' ' + this.symbol;
|
return response + ' ' + this.symbol;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -111,7 +111,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Simple view >>> -->
|
<!-- Simple view >>> -->
|
||||||
<div data-ng-if="!itemsExpanded" data-ng-init="currentOutNoExpanded=0; sizeOutNoExpanded=5">
|
<div data-ng-if="!itemsExpanded" data-ng-init="currentOutNoExpanded=0; sizeOutNoExpanded=5">
|
||||||
<div data-ng-repeat="vout in tx.voutSimple| startFrom:currentOutNoExpanded*sizeOutNoExpanded | limitTo:sizeOutNoExpanded">
|
<div data-ng-repeat="vout in tx.voutSimple| startFrom:currentOutNoExpanded*sizeOutNoExpanded | limitTo:sizeOutNoExpanded">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user