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

kendo.toString negative number custom format missing group separator

1 Answer 182 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 30 Jan 2017, 07:28 PM

My team recently upgraded from 2016.2.504 to 2017.1.118 and we noticed the following issue with formatting 7 (and 10) digit negative numbers, where-in the first group separator is missed.

kendo.toString(-1234567, "\#,0;(\#,0); ") -> "(1234,567)"

2016.2.504 (This works):
http://dojo.telerik.com/IqujA/2

2016.2.607 Slightly newer version breaks it.

http://dojo.telerik.com/IqujA/3

Current version still broken:

http://dojo.telerik.com/IqujA/4

Our issue appears to have introduced with this commit: https://github.com/telerik/kendo-ui-core/commit/17b08eab51d0761e187c849f77fe0db8180e7357

Is this the intentional behavior going forward or a bug?

1 Answer, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 01 Feb 2017, 02:40 PM
Hello Daniel,

This is a known issue and we are currently working on it.

A possible fix is shared by the community, we will test it to ensure that it will not cause different issues and if the tests are successful it will be introduced in a future release. You can track its progress at:

https://github.com/telerik/kendo-ui-core/issues/2681

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or