I'm working with Angular 4 and I have used the CoinMarketCap API. But there's a field that's been giving me a big headache. Any suggestions?
this:
"24h_volume_usd": "72855700.0",
this is my html:
<tr *ngFor="let coin of coins">
<td>{{coin.24h_volume_usd | currency:'USD':true:'1.0-2'}}</td>
</tr>
this is error:
Uncaught Error: Template parse errors:
Parser Error: Unexpected token '0.24' at column 5 in [{{coin.24h_volume_usd | currency:'USD':true:'1.0-2'}}]