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

Remove Comma in Kendo Numeric Textbox

1 Answer 2886 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
crazy05
Top achievements
Rank 1
crazy05 asked on 30 Jan 2015, 03:18 PM
Hello,

I don't want either comma or decial for the number I entered. I just want the numer as it is entered by the user. How can I do it ?

$("#Number").kendoNumericTextBox({
            spinners: false           
        });

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 03 Feb 2015, 09:59 AM
Hello Ram,

If you would like to allow only simple digits without any formatting then you can setup the numerictextbox like this:
$("#Number").kendoNumericTextBox({
  spinners: false,
  format: "#",
  decimals: 0
});
Refer to the API and Globalization help topics for more details about the given solution.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
NumericTextBox
Asked by
crazy05
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or