fix sci notation

This commit is contained in:
Matias Alejo Garcia 2014-05-17 00:23:13 -03:00
parent 4d76f1c6f4
commit 62e4a3c714
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,8 @@ angular.module('insight.currency').controller('CurrencyController',
this.factor = 1;
response = value;
}
// prevent sci notation
if (response < 1e-7) response=response.toFixed(8);
return response + ' ' + this.symbol;
}

View File

@ -111,7 +111,6 @@
</div>
<div class="col-md-6">
<div class="row">
<!-- Simple view >>> -->
<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">