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

Bug with toString function

4 Answers 19 Views
Globalization
This is a migrated thread and some comments may be shown as answers.
Ron
Top achievements
Rank 1
Veteran
Ron asked on 31 May 2016, 07:00 PM

Hi,


We just upgraded from Kendo UI Q1 2016 SP3 to Kendo UI Q2 2016 because of a bug with kendo.toString. We see it was partially fixed, but there is still a problem. 


The result of 
kendo.toString(-5678, "##,#")
is 
"-,5678"
Instead of the expected "-5,678" 

Since we are getting near to a release of our next app version it is important for us to know when do you expect to fix this bug (in earlier versions it all worked well).

Thanks,

 

Ron.

4 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 03 Jun 2016, 07:03 AM
Hi Ron,

The described bug is fixed, and the working version is available in the internal build from May 23th 2016.

Let us know if you need further assistance.

Regards,
Dimiter Topalov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ron
Top achievements
Rank 1
Veteran
answered on 06 Jun 2016, 03:35 PM
Solved. Thanks. Much appreciated.
0
Stephen
Top achievements
Rank 1
answered on 29 Nov 2016, 03:41 PM

Hi Dimiter,

I'm using Kendo UI R3 2016 SP1 (but also tested with SP2) and I still encounter this problem. Below are a few examples.

kendo.toString(4321.11, "$###,##0.00;-$###,##0.00") -> "$4,321.11"
kendo.toString(-4321.11, "$###,##0.00;-$###,##0.00") -> "-$4321.11"
kendo.toString(-43214.11, "$###,##0.00;-$###,##0.00") -> "-$43,214.11"

Has the fix been reverted in more recent versions?

 

-Stephen

0
Dimiter Topalov
Telerik team
answered on 01 Dec 2016, 12:41 PM
Hello Stephen,

The issue, initially discussed in the thread is fixed, but the one, described by you, is a different bug that has been logged, and you can track the corresponding issue in our GitHub repository:

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

It's priority has already been escalated, and you can expect a fix in a future release of Kendo UI.

Regards,
Dimiter Topalov
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Tags
Globalization
Asked by
Ron
Top achievements
Rank 1
Veteran
Answers by
Dimiter Topalov
Telerik team
Ron
Top achievements
Rank 1
Veteran
Stephen
Top achievements
Rank 1
Share this question
or