currency
date
uppercase
json
limitTo
lowercase
async
decimal
percent

ts ==

import { CurrencyPipe } from '@angular/common';

this.currencyPipe.transform(netSale, 'USD', true, '1.2-2')

html
| currency:'USD':true:'1.2-2'

{{(overView["itemDiscountTotal"]+overView["orderDiscountTotal"])/overView["netSales"] | percent:'1.2-2'}}

 posted on 2017-10-01 01:22  jayruan  阅读(108)  评论(0编辑  收藏  举报