import { Pipe , PipeTransform } from '@angular/core' ; /**
 * Remove extra numbers after the full name (those numbers comes fromt the authentication service)
 */ @ Pipe ( { name : 'mathRoundPipe' } ) export class MathRoundPipe implements PipeTransform { transform ( mathRound ) { const a = Math . round ( mathRound ) ; return String ( a ) ; } }