When using the Angular(4) decimal pipe, I noticed that dots are shown with numbers that have more than 4 digits. However, when the number has exactly 4 digits, the dot is not displayed.
For example:
<td>USD {{amount| number: '1.2-2'}} </td>
14314.23123 returns 14,314.23
but
7157.11123 returns 7,157.11 instead of 7,157.11
Is there a solution to this issue without creating a custom pipe?