Made decimals more nice and clear.
This commit is contained in:
@@ -1 +1 @@
|
||||
<span class="green-color">{{ (conversions$ | async)?.USD * value / 100000000 | currency:'USD':'symbol':'1.2-2' }}</span>
|
||||
<span class="green-color">{{ (conversions$ | async)?.USD * value / 100000000 | currency:'USD':'symbol':digitsInfo }}</span>
|
||||
@@ -12,6 +12,7 @@ export class FiatComponent implements OnInit {
|
||||
conversions$: Observable<any>;
|
||||
|
||||
@Input() value: number;
|
||||
@Input() digitsInfo = '1.2-2';
|
||||
|
||||
constructor(
|
||||
private stateService: StateService,
|
||||
|
||||
Reference in New Issue
Block a user