0

I am using Angular14 with ibm carbon design system.

<ibm-number
                [label]="label"
                [helperText]="[helperText]"
                [theme]="theme"
                [min]="min"
                [max]="max"
                [step]="step"
                [precision]="precision"
                [invalid]="invalid"
                [invalidText]="invalidText"
                [warn]="warn"
                [warnText]="warnText"
                [size]="size"
                [disabled]="disabled">
            </ibm-number>

for eg: want to display a number as : 123,123,123

I would like to format the number with comma separated after 3 numbers. Couldnt find any documentation in ibm. Is there a way in angular with custom directives we can format this number input with comma separated?

Can anyone please help me with this to show how to achieve this?

Thanks

Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156

0 Answers0