This is a migrated thread and some comments may be shown as answers.

Remove commas from numbers

2 Answers 748 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Semie
Top achievements
Rank 1
Semie asked on 15 Oct 2020, 03:17 PM
Is there a way to remove commas from the NumericTextBox?

2 Answers, 1 is accepted

Sort by
1
Accepted
Hetali
Telerik team
answered on 15 Oct 2020, 08:48 PM

Hello Semie,

In order to remove commas from the Kendo UI NumericTextBox, define the custom format using the "#" specifier. It will show the digit if it is present without adding commas. For example:

<kendo-numerictextbox [format]="'################.##'">
</kendo-numerictextbox>

In this StackBlitz example, defining the format using the "#" specifier, the value in the Kendo UI NumericTextBox does not have commas.

I hope this helps. Let me know if I can further assist you.

Regards,
Hetali
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Semie
Top achievements
Rank 1
answered on 16 Oct 2020, 01:32 PM
Thank you, that's very helpful
Tags
NumericTextBox
Asked by
Semie
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Semie
Top achievements
Rank 1
Share this question
or