groupSize and number formatting issue

3 posts, 0 answers
  1. Ravi
    Ravi avatar
    1 posts
    Member since:
    Aug 2012

    Posted 15 Oct 2012 Link to this post

    When I use the Indian culture files say en-IN, the culture file has the groupSize specified as [3,2] which is initial 3 places and then 2 places after. However, kendo.format does not seem to respect it. Dug into the source files and I see only groupSize[0] being used in number format.

    For example in en-IN culture, the currency format should return 12,34,567.00 and not 1,234,567.00. Is this a known issue or am I doing something wrong.

  2. Jayesh
    Jayesh avatar
    6 posts
    Member since:
    Jan 2015

    Posted 20 Feb Link to this post

    I am also facing the same issue. Is there any solution or work around to this. I see this post been unanswered over 3 years. Is it that Kendo developing team doesn't have a solution?
  3. Jayesh
    Jayesh avatar
    6 posts
    Member since:
    Jan 2015

    Posted 21 Feb Link to this post

    The issue was a combination of old version and a bug with Telerik on determining the group size of culture.

    In my case, I was trying to format the number and currency in en-IN. The group size was given as [3,2,0] in the respective kendo culture file. This lead to the formatting of currency/number in wrong way like putting the separator (,) after 3 then 2 and no separator thereafter. 

    You can refer this link to get a work around to overcome this issue. 

    How can we format a currency using culture group size in Kendo numeric text box?

Back to Top