Convert to Integer

Hello a have this code

I want to show the integer part, any suggestion.

please

Use angular number pipe

I guess you want to remove the decimals? Math.round() maybe? https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Math/round