Within the realm of angular2, pipes are utilized to format numbers. For instance:
{{selectedTeam.teamSalary | currency: 'USD':true}}
This results in an output like $152,524,668.00
The documentation on Angular2 Pipes lacks specific details, leading me to question if there is a method (using angular2 pipes) to convert a number such as $152,524,668.00 to $152.5m?
While this query provides code for achieving it, I am seeking a more Angular2-specific approach (if available).
Convert long number into abbreviated string in JavaScript, with a special shortness requirement