how to change "coma" by "point decimal"

2 posts, 0 answers
  1. aleks
    aleks avatar
    4 posts
    Member since:
    Jan 2016

    Posted 17 Feb Link to this post

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

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

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 22 Feb Link to this post

    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!
     
  3. UI for ASP.NET AJAX banner
Back to Top