import { Pipe , PipeTransform } from '@angular/core' ; import { CurrencyPipe } from '@angular/common' ; @ Pipe ( { name : 'stripe' } ) export class StripePipe implements PipeTransform { transform ( value ) { return value ? value / 100 : 0 ; } }