You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Angular pipe FormatNumberPipe will have an odd behavior for values greater or equal than 1 Million when the option compact is set to false.
This is because the number will have more parts to split, 4 or more, instead of the 3 parts the current code thinks it will have. To solve this we could use an iterative approach or force the option compact to be true when the value is greater than 1M.
The text was updated successfully, but these errors were encountered:
The Angular pipe
FormatNumberPipe
will have an odd behavior for values greater or equal than 1 Million when the optioncompact
is set tofalse
.This is because the number will have more parts to split, 4 or more, instead of the 3 parts the current code thinks it will have. To solve this we could use an iterative approach or force the option
compact
to betrue
when the value is greater than 1M.The text was updated successfully, but these errors were encountered: