import { Pipe , PipeTransform } from '@angular/core' ; import { CurrencyCNYOptions , CurrencyService } from '@delon/util/format' ; @ Pipe ( { name : 'cny' } ) export class CurrencyCNYPipe implements PipeTransform { constructor ( private srv ) { } /**
     * Converted into RMB notation.
     *
     * 转化成人民币表示法
     */ transform ( value , options ? ) { return this . srv . cny ( value , options ) ; } }