I am using Kendo numericTextBox to display the currency. I have a requirement to format the value based on the currency selected. I am able to format the currency correctly for "en-US" and "de-DE" but I'm having trouble to format the currency correctly for culture have different group size.
All the example and sample in Kendo blog are on "en-US" and "de-DE" which have similar group size.
For "en-US" currency groupSize
property is [3]
what means that each group will be separated after 3 digits e.g. 1,000,000
. But for some other culture which have different grouping, e.g. "en-IN" which have the 'groupSize' equals [3,2,0]
, kendo still group the number in group of 3 only: 1,000,000
, while we expect the grouping to be 3 digits then separator then group of 2 digits etc.: 10,00,000
.
Can anyone help me out on this?
Here is my code sample: http://dojo.telerik.com/@jayesh-jayakumar/AtojA/8