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

how to change "coma" by "point decimal"

1 Answer 722 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
aleks
Top achievements
Rank 2
aleks asked on 17 Feb 2016, 07:33 PM

How I can make the numeric textbox displays the decimal point?

 $("#appRendimientoEsperado").kendoNumericTextBox({
          decimals: 2,
          step: .01,
          format: "#"
      });

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 22 Feb 2016, 08:27 AM
Hello aleks,

The decimal point of the formatted value depends on the kendo culture used on the page. You can find more details about that functionality here:
By default, the widget uses "en-US" culture, where the decimal separator is point ("."). What I would suggest you check what is the used kendo culture and if you would like to change only the culture settings to a particular widget then to define the culture option of that widget:
$("#appRendimientoEsperado").kendoNumericTextBox({
  culture: "en-US",
  decimals: 2,
  step: .01,
  format: "#"
});

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
aleks
Top achievements
Rank 2
Answers by
Georgi Krustev
Telerik team
Share this question
or